Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Source code to djangoproject.com

branch: master
Octocat-spinner-32 accounts Fixed #21826 -- Fixed password reset views. January 20, 2014
Octocat-spinner-32 aggregator Merge pull request #60 from django/19740a October 14, 2013
Octocat-spinner-32 blog Upgraded to Django 1.6. January 18, 2014
Octocat-spinner-32 cla Move apps outside of the django_website package. February 05, 2013
Octocat-spinner-32 contact Fixed #21444 -- Fixed UnicodeEncodeError when passing non-ascii chars… November 16, 2013
Octocat-spinner-32 django_docs Restored and updated Raven configuration. January 18, 2014
Octocat-spinner-32 django_ux Rename ux project for consistency. February 05, 2013
Octocat-spinner-32 django_www Restored and updated Raven configuration. January 18, 2014
Octocat-spinner-32 docs Fixed #21944 -- Added a warning for unsupported versions of the docum… February 04, 2014
Octocat-spinner-32 legacy Save a dump of the redirects for the downloads. March 13, 2013
Octocat-spinner-32 releases Fixed import. April 14, 2014
Octocat-spinner-32 static Removed bad margin-left in last commit. February 04, 2014
Octocat-spinner-32 svntogit Update imports from django.conf.urls and avoid import *. February 06, 2013
Octocat-spinner-32 templates Fixed #22235 -- recommend pip install from url April 14, 2014
Octocat-spinner-32 tracdb Upgraded to Django 1.6. January 18, 2014
Octocat-spinner-32 .gitignore Made the docs application/templates translatable June 13, 2013
Octocat-spinner-32 README.txt Fixed docs site instructions in README.txt. July 09, 2013
Octocat-spinner-32 TODO Update TODO. February 09, 2013
Octocat-spinner-32 deploy-requirements.txt Restored and updated Raven configuration. January 18, 2014
Octocat-spinner-32 fabfile.py Fix typo in the fabfile documentation March 10, 2014
Octocat-spinner-32 local-requirements.txt Set maximal whoosh version September 18, 2013
Octocat-spinner-32 manage.py Upgrade Django. Switch to the new project layout. February 05, 2013
README.txt
To run locally, do the usual::

1. Create a virtualenv

2. Install dependencies::

    pip install -r deploy-requirements.txt
    pip install -r local-requirements.txt

   If you only need to deploy, and don't need to test any changes,
   you can use local-requirements.txt only.

3. Create a 'secrets.json' file in the directory above the checkout, containing
   something like::

    { "secret_key": "xyz",
      "superfeedr_creds": ["any@email.com", "some_string"] }

4. Create databases::

    createuser -d djangoproject
    createdb -O djangoproject djangoproject
    createuser code.djangoproject
    createdb -O code.djangoproject code.djangoproject

5. Create tables::

    psql -d code.djangoproject < tracdb/trac.sql

    ./manage.py syncdb
    ./manage.py migrate

   and::

    ./manage.py syncdb --docs
    ./manage.py migrate --docs

   if you want to run docs site.

6. For docs::

    ./manage.py loaddata doc_releases.json --docs
    ./manage.py update_docs --docs

Finally::

    ./manage.py runserver

This runs as ``www.djangoproject.com``. To run locally as
``docs.djangoproject.com``, use::

    ./manage.py runserver --docs
Something went wrong with that request. Please try again.