Skip to content

Commit

Permalink
Merge 106fd32 into 8ecbba5
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Mar 3, 2019
2 parents 8ecbba5 + 106fd32 commit e57df43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/upgrade.rst
Expand Up @@ -15,9 +15,9 @@ Upgrade
You may want to backup the media folder as well.

.. Note::
Make sure to check the changelog for every
patch version of the upgrading target and
make changes accordingly
Make sure to check the changelog for every patch version
of the upgrading target and make changes accordingly.
Check the logs for Spirit deprecation warnings.

.. Warning::
Trying to skip a minor version while upgrading will break things. For example, it's
Expand Down
2 changes: 2 additions & 0 deletions spirit/extra/project_template/manage.py
@@ -1,9 +1,11 @@
#!/usr/bin/env python

import logging
import os
import sys

if __name__ == "__main__":
logging.captureWarnings(True)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings.dev")

from django.core.management import execute_from_command_line
Expand Down
2 changes: 2 additions & 0 deletions spirit/extra/project_template/project_name/wsgi.py
Expand Up @@ -2,11 +2,13 @@

from __future__ import absolute_import, unicode_literals

import logging
import os

from django.core.wsgi import get_wsgi_application


logging.captureWarnings(True)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings.dev")

application = get_wsgi_application()

0 comments on commit e57df43

Please sign in to comment.