Namespace Simplification

On django-developers, we discussed some changes to the django namespace, and adding a new "shortcuts" module to allow 1 line imports for common tasks. These changes are part of RemovingTheMagic.

Here's a summary of what should be done:

Move httpwrappers

Status: Done

Move django.utils.httpwrappers, plus the Http404 exception. to django.http

Move template

Status: Done

Move django.core.template to django.template

Rename DjangoContext to RequestContext, and move the class to the django.template module.

You'll need to update TEMPLATE_LOADERS in your settings from:

#    'django.core.template.loaders.eggs.load_template_source',

#    'django.template.loaders.eggs.load_template_source',

Move formfields

Status: Done

Move django.core.formfields to django.forms

Move django.core.extensions

Status: Done

Move django.core.extensions to django.shortcuts

Last modified 18 years ago Last modified on 01/18/06 19:04:12
Back to Top