Ticket #10079: 10079-reusable-context.diff

File 10079-reusable-context.diff, 681 bytes (added by mcroydon, 16 years ago)

Actually update the diff this time.

  • django/template/context.py

    diff --git a/django/template/context.py b/django/template/context.py
    index 1f13659..0ccb5fa 100644
    a b  
    1 from django.conf import settings
    21from django.core.exceptions import ImproperlyConfigured
    32from django.utils.importlib import import_module
    43
    class Context(object):  
    7170# This is a function rather than module-level procedural code because we only
    7271# want it to execute if somebody uses RequestContext.
    7372def get_standard_processors():
     73    from django.conf import settings
    7474    global _standard_context_processors
    7575    if _standard_context_processors is None:
    7676        processors = []
Back to Top