python - Django-503 App Maintenance Template Error -
I have recently downloaded the app of Coagulant which generates 503 pages so that you can run maintenance
I currently have problems that I downloaded the app from GitHub and had a PIP installed. I followed all the instructions though, when I try to turn on Maintenance mode, I get the following error.
Request method: Post Request URL: http://XX.XXX.XXX.XXX:8000/admin/ Django_503/config / 1 / Django Version: 1.4.3 Exception Type: TemplateDoesNotExist Exception Value: admin_warning.html Exception Location: /usr/local/lib/python2.7/dist-packages/django/template/loader.py find_template, line 138 Although package from GitHub The template came with, Django can not seem to find them. Is there any possible solution for this?
I came to know what the problem was, while installing a PIP, the package provided HTML files with dist- The package was not installed in the directory, where DJengo_503 remains. You must manually add a template folder to Django_503 and then add the related HTML files.
Comments
Post a Comment