2016-06-03 21:55:44 +03:00
Troubleshooting
=====================================
This page contains some advice about errors and problems commonly encountered during the development of Cookiecutter Django applications.
#. `` project_slug `` must be a valid Python module name or you will have issues on imports.
2018-03-27 01:31:10 +03:00
#. `` jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'now'. `` : please upgrade your cookiecutter version to >= 1.4 (see `#528`_ )
2018-03-08 15:56:15 +03:00
2018-03-27 01:31:10 +03:00
#. Internal server error on user registration: make sure you have configured the mail backend (e.g. Mailgun) by adding the API key and sender domain
2019-05-12 23:57:16 +03:00
.. include :: mailgun.rst
2018-12-18 14:37:35 +03:00
2019-05-12 23:57:16 +03:00
#. New apps not getting created in project root: This is the expected behavior, because cookiecutter-django does not change the way that django startapp works, you'll have to fix this manually (see `#1725`_ )
2019-03-27 00:36:38 +03:00
2018-03-27 01:31:10 +03:00
.. _#528: https://github.com/pydanny/cookiecutter-django/issues/528#issuecomment-212650373
2018-12-18 14:37:35 +03:00
.. _#1725: https://github.com/pydanny/cookiecutter-django/issues/1725#issuecomment-407493176