Code


Version 1 (modified by jkocherhans <jkocherhans@…>, 9 years ago) (diff)

added page for namespace simplification

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 django.utils.httpwrappers, plus the Http404 and Http500 exceptions. to django.http
  • Move django.core.template and DjangoContext to django.template
  • Move django.core.formfields to django.form
  • Add django.shortcuts.views, django.shortcuts.templatetags, what else?