Skip to content
Starting point for new Django projects
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
media/css
templates
README.md
__init__.py
initial_data.json
manage.py
requirements.txt
settings.py
settings_local.py
urls.py
views.py

README.md

django-exampleproject

A pre-configured Django 1.1 project that can be used as a starting point. The following changes were made:

  • Import settings_local.py in settings.py
  • Sqlite3 database saved in project directory
  • Static media in "media/" served by static.serve
  • TEMPLATE_DIRS set to "templates/" directory
  • E-mail settings configured for Python DebuggingServer
  • GZipMiddleware installed
  • example base.html template with basic HTML4.01 skeleton
  • example 404.html/500.html error page templates
  • custom error 500 handler with MEDIA_URL in context
  • contrib.admin installed
  • initial_data.json fixture with superuser
    • User: admin
    • Password: admin
  • django-debug-toolbar configured (run pip install django-debug-toolbar)
  • change ADMIN_MEDIA_PREFIX to "/media/admin/"
  • CACHE_BACKEND set to locmem

If you want to rename the project, remember to change the ROOT_URLCONF variable in settings.py to the new project name.

Something went wrong with that request. Please try again.