This is an old revision of the document!
Since the release of 3.4.0 parts of NAV have been using the Python web framework Django for some subsystems/apps, starting with the new IP Device Info app.
TODO: Intro to creating an NAV app with Django following the same sequence as the Django tutorial.
ETA: A first draft published Friday June 6, 2008
TODO: File structure, etc.
TODO: Custom render_to_response(), etc.
NAV uses sessions for keeping track of logged in users. Currently, we are not using
django.contrib.sessions, but are still using plain old
mod_python sessions. The easiest way to get hold of the
mod_python session in views is to use
request._req is the traditional
mod_python request object.