# Overview

########### MicroDjango ########### This is a minimal django project. Everything is contained in one file. It has all the settings you need to get a django project running (that is, one: ROOT_URLCONF). Views are associated with their URLs in a different way from normal django projects. Rather than defining all the URLs in one place, they are defined one at a time, alongside the view they control. This structure is inspired by the @route decorator mechanism used by flask and bottle. To run this project, download microdjango.py to your current directory, install django, and run:: PYTHONPATH=\$(pwd) django-admin.py runserver --settings=microdjango For another take on a minimal django project, check out Alex Clark_'s django-hello_ project, which uses a more traditional django project layout (separate settings, urls, and views), but includes proper python packaging. .. _Alex Clark: http://blog.aclark.net/ .. _django-hello: https://github.com/aclark4life/django-hello