mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Add note about project template.
This commit is contained in:
parent
dedd5682aa
commit
aac7af881c
1 changed files with 15 additions and 1 deletions
16
README.rst
16
README.rst
|
|
@ -92,5 +92,19 @@ The same applies to your **wsgi.py** file, e.g.:
|
|||
Here we don't use the default ``django.core.wsgi.get_wsgi_application``
|
||||
function but instead ``configurations.wsgi.get_wsgi_application``.
|
||||
|
||||
That's it! You can now use your project with **manage.py** and your favorite
|
||||
That's it! You can now use your project with ``manage.py`` and your favorite
|
||||
WSGI enabled server.
|
||||
|
||||
**Alternatively** you can use a special Django project template that is a copy
|
||||
of the one included in Django 1.5.x. The following example assumes you're using
|
||||
pip_ to install dependencies.::
|
||||
|
||||
# first install Django and django-configurations
|
||||
pip install -r https://raw.github.com/jezdez/django-configurations/templates/1.5.x/requirements.txt
|
||||
# then create your new Django project with the provided template
|
||||
django-admin.py startproject mysite -v2 --template https://github.com/jezdez/django-configurations/archive/templates/1.5.x.zip
|
||||
|
||||
Now you have a default Django 1.5.x project in the ``mysite`` directory that uses
|
||||
django-configurations.
|
||||
|
||||
.. _pip: http://pip-installer.org/
|
||||
|
|
|
|||
Loading…
Reference in a new issue