summaryrefslogtreecommitdiff
path: root/django/core/extensions.py
AgeCommit message (Collapse)Author
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify ↵Adrian Holovaty
processesors for DjangoContext. Thanks, Luke Plant git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: ↵Jacob Kaplan-Moss
this means that the i18n branch is now obsolete and will be made read-only. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14Fixed #626 -- Moved template modules to django.core.template package. ↵Adrian Holovaty
django.core.template_loader is deprecated, in favor of django.core.template.loader. git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Added django.core.extensions get_object_or_404 and get_list_or_404Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-22Added django.core.template_loader.render_to_string and ↵Adrian Holovaty
django.core.extensions.render_to_response. django.core.extensions.load_and_render is deprecated in favor of render_to_response. git-svn-id: http://code.djangoproject.com/svn/django/trunk@664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-21Fixed #533 -- Fixed bug when using custom context_instance in ↵Adrian Holovaty
load_and_render(). Thanks, Brantley git-svn-id: http://code.djangoproject.com/svn/django/trunk@657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-21Changed django.core.extensions.load_and_render to take context_instance ↵Adrian Holovaty
instead of context_class keyword arg, so DjangoContext can be used git-svn-id: http://code.djangoproject.com/svn/django/trunk@656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-21Added django.core.extensions.load_and_render, which factors out the ↵Adrian Holovaty
boilerplate of loading a template, rendering a context and returning an HttpResponse git-svn-id: http://code.djangoproject.com/svn/django/trunk@655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-17Companion django.core.extensions checkin to [644]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Fixed #132 -- thanks anonymous userJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Added WSGI support. Created core.handlers package. Moved ALL ↵Adrian Holovaty
mod_python-specific code to django.core.handlers.modpython. Note that django.core.handler is still a valid mod_python handler but IS DEPRECATED. Use django.core.handlers.modpython, instead. git-svn-id: http://code.djangoproject.com/svn/django/trunk@169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Rolled django.core.extensions.DjangoRequest into ↵Adrian Holovaty
django.utils.httpwrappers.ModPythonRequest, in preparation for WSGI support git-svn-id: http://code.djangoproject.com/svn/django/trunk@167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18Removed legacy CMSContext and CMSRequest from django.core.extensions, ↵Adrian Holovaty
because all World Online code has been changed to remove those. This has no effect on anybody other than World Online git-svn-id: http://code.djangoproject.com/svn/django/trunk@166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15Renamed CMSRequest to DjangoRequest, and CMSContext to DjangoContext. Old ↵Adrian Holovaty
code will still work. git-svn-id: http://code.djangoproject.com/svn/django/trunk@57 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14Changed many-to-many API to be get_FOO_list instead of get_FOOsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37