princekhunt / privateping

PrivatePing is a secure messaging application built on Python's Django framework, providing end-to-end encryption for messages exchanged between users.
https://privateping.bytespot.tech
MIT License
124 stars 30 forks source link

Update base.py #20

Closed Mayureshd-18 closed 2 weeks ago

Mayureshd-18 commented 2 weeks ago

The STATICFILES_DIRS or STATIC_ROOT variables have the responsibility of specifying the path where the static files are stored. In PROD systems, it is preferable to use STATIC_ROOT, while in test systems, STATICFILES_DIRS is used. However, it is not possible to declare both of these variables in the same settings.py file.

As this is a production version of the system, it will be appropriate to remove the STATIC_DIRS path. Thus I have updated the base.py file (Privateping -> settings -> base.py)

princekhunt commented 2 weeks ago

You're changing base.py base.py expands in both development and production.py