Pengin-Open-Source / pengin-pi-2

Pengin-Pi Django version
GNU General Public License v3.0
0 stars 1 forks source link

PR for using static files, using macros, connecting to remote db via env file, and loading Chat Overlay stub #1

Closed mvetom closed 1 month ago

mvetom commented 1 month ago

Adjust STATICFILES_DIRS in settings.py to get static files to load ( while DEBUG is set to True).

Also changed settings.py to make use the environment file to connect to the database.

We can now use macros in this project, if the django-macro package is installed. With the help of macros, the chat button displays and clicking it displays the Chat overlay.

However only the first part of the Chat overlay is displayed at this point - the part where the user is asked to select a Chat user or room. But you will only see empty lists - I just created simple context processors to populate empty lists for them.