Merge pull request #9 from carljm/no-code-in-manage-py

Don't recommend putting important code in manage.py.
This commit is contained in:
Jeff Balogh 2012-02-10 14:55:51 -08:00
Родитель 15492526b2 1fa1a42fc1
Коммит 94e2858a42
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -45,8 +45,8 @@ Then we have to monkeypatch Django to fix the ``@csrf_protect`` decorator::
import session_csrf
session_csrf.monkeypatch()
Make sure that's in something like ``manage.py`` so the patch gets applied
before your views are imported.
Make sure that's in something like your root ``urls.py`` so the patch gets
applied before your views are imported.
Differences from Django