mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 21:24:32 +03:00
Added django-extensions to local configuration
It's one of the recommended apps in Two Scoops of Django. `runserver_plus` and `shell_plus` are real time-savers!
This commit is contained in:
parent
ec3a480595
commit
a362c4041a
|
@ -50,9 +50,9 @@ First make sure to create and activate a virtualenv_, then open a terminal at th
|
||||||
|
|
||||||
.. _virtualenv: http://docs.python-guide.org/en/latest/dev/virtualenvs/
|
.. _virtualenv: http://docs.python-guide.org/en/latest/dev/virtualenvs/
|
||||||
|
|
||||||
You can now run the usual Django ``runserver`` command::
|
You can now run the ``runserver_plus`` command::
|
||||||
|
|
||||||
$ python {{cookiecutter.repo_name}}/manage.py runserver
|
$ python {{cookiecutter.repo_name}}/manage.py runserver_plus
|
||||||
|
|
||||||
The base app will run but you'll need to carry out a few steps to make the sign-up and login forms work. These are currently detailed in `issue #39`_.
|
The base app will run but you'll need to carry out a few steps to make the sign-up and login forms work. These are currently detailed in `issue #39`_.
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
-r base.txt
|
-r base.txt
|
||||||
coverage==3.7.1
|
coverage==3.7.1
|
||||||
Sphinx
|
Sphinx
|
||||||
|
django-extensions==1.4.8
|
||||||
|
Werkzeug==0.9.6
|
||||||
|
|
||||||
# django-debug-toolbar that works with Django 1.5+
|
# django-debug-toolbar that works with Django 1.5+
|
||||||
django-debug-toolbar==1.2.1
|
django-debug-toolbar==1.2.1
|
||||||
|
|
|
@ -29,7 +29,7 @@ class Local(Common):
|
||||||
|
|
||||||
# django-debug-toolbar
|
# django-debug-toolbar
|
||||||
MIDDLEWARE_CLASSES = Common.MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
MIDDLEWARE_CLASSES = Common.MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
||||||
INSTALLED_APPS += ('debug_toolbar',)
|
INSTALLED_APPS += ('debug_toolbar', 'django_extensions',)
|
||||||
|
|
||||||
INTERNAL_IPS = ('127.0.0.1', '10.0.2.2',)
|
INTERNAL_IPS = ('127.0.0.1', '10.0.2.2',)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user