LVLogo

Django, mod_wsgi, apache & Bad Request (400)

2018-07-11 — Thomas Raschbacher (LordVan)

Just cuz it took me about 10 minutes to figure outwhy my deployed Django site was just giving me Bad Request (400)

After turning DEBUG on in settings.py I found out the reason: I had forgotten to set the permissions, so that my webserver-user had access to the files needed.

Simple to fix, but can be a pain to find out what happened to a perfectly working site.

django DurationField - (very) simple way to format (for template) django-stdimage new util class UploadToClassNameDirPKUUID