mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Moved project templates into cookbooks.
This commit is contained in:
parent
61bb7b0e44
commit
f4cea1e97b
3 changed files with 51 additions and 24 deletions
24
README.rst
24
README.rst
|
|
@ -96,27 +96,3 @@ function but instead ``configurations.wsgi.get_wsgi_application``.
|
|||
|
||||
That's it! You can now use your project with ``manage.py`` and your favorite
|
||||
WSGI enabled server.
|
||||
|
||||
Project templates
|
||||
-----------------
|
||||
|
||||
You can use a special Django project template that is a copy of the one
|
||||
included in Django 1.5.x. The following examples assumes you're using pip_
|
||||
to install packages.
|
||||
|
||||
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.
|
||||
|
||||
See the repository of the template for more information:
|
||||
|
||||
https://github.com/jezdez/django-configurations/tree/templates/1.5.x
|
||||
|
||||
.. _pip: http://pip-installer.org/
|
||||
|
|
|
|||
|
|
@ -1,6 +1,50 @@
|
|||
Cookbook
|
||||
========
|
||||
|
||||
.. _project-templates:
|
||||
|
||||
Project templates
|
||||
-----------------
|
||||
|
||||
You can use a special Django project template that is a copy of the one
|
||||
included in Django 1.5.x and 1.6.x. The following examples assumes you're
|
||||
using pip_ to install packages.
|
||||
|
||||
Django 1.5.x
|
||||
^^^^^^^^^^^^
|
||||
|
||||
First install Django 1.5.x 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
|
||||
|
||||
See the repository of the template for more information:
|
||||
|
||||
https://github.com/jezdez/django-configurations/tree/templates/1.5.x
|
||||
|
||||
Django 1.6.x
|
||||
^^^^^^^^^^^^
|
||||
|
||||
First install Django 1.6.x and django-configurations::
|
||||
|
||||
pip install -r https://raw.github.com/jezdez/django-configurations/templates/1.6.x/requirements.txt
|
||||
|
||||
Or Django 1.6::
|
||||
|
||||
django-admin.py startproject mysite -v2 --template https://github.com/jezdez/django-configurations/archive/templates/1.6.x.zip
|
||||
|
||||
Now you have a default Django 1.5.x or 1.6.x project in the ``mysite``
|
||||
directory that uses django-configurations.
|
||||
|
||||
See the repository of the template for more information:
|
||||
|
||||
https://github.com/jezdez/django-configurations/tree/templates/1.6.x
|
||||
|
||||
.. _pip: http://pip-installer.org/
|
||||
|
||||
Celery
|
||||
------
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,12 @@
|
|||
.. include:: ../README.rst
|
||||
|
||||
Project templates
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Don't miss the Django :ref:`project templates pre-configured with
|
||||
django-configurations<project-templates>` to simplify getting started
|
||||
with new Django projects.
|
||||
|
||||
Wait, what?
|
||||
-----------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue