DigitalShoestringSolutions / InventoryManagement

Shoestring starter solution for a simple inventory management system
GNU General Public License v3.0
0 stars 1 forks source link

Disabling DEBUG in settings.py removes HTML formatting #21

Open tobyaharris opened 1 month ago

tobyaharris commented 1 month ago

In settings.py DEBUG is turned on. It is recommended for production environments to turn it off.

However, do this and the HTML UI breaks - this doomed #14

@Greg-Hawkridge says the answer is to use whitenoise to make the staticfiles available. Tell us more and make a PR :)

anandarupmukherjee commented 1 month ago

Recommended...not mandatory. I have no experience in deploying a production version. Will need to fall-back on greg's expertise.