Changes between Version 63 and Version 64 of RemovingTheMagic


Ignore:
Timestamp:
Feb 12, 2006, 5:58:05 PM (19 years ago)
Author:
Paul Bissex
Comment:

added note about custom template tags

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v63 v64  
    191191{{{django.core.extensions.DjangoContext}}} has been renamed to {{{RequestContext}}} and moved to {{{django.template.RequestContext}}}.
    192192
    193 You'll need to update {{{TEMPLATE_LOADERS}}} in your settings from:
     193You'll need to remove ".core." from your {{{TEMPLATE_LOADERS}}} settings values. Old:
    194194{{{
    195195#!python
     
    201201}}}
    202202
    203 ...to:
     203New:
    204204
    205205{{{
     
    210210#    'django.template.loaders.eggs.load_template_source',
    211211)
     212}}}
     213
     214Custom template tag definitions need a similar change. Old:
     215{{{
     216#!python
     217from django.core import template
     218register = template.Library()
     219}}}
     220
     221New:
     222{{{
     223#!python
     224from django.template import Library
     225register = Library()
    212226}}}
    213227
     
    623637}}}
    624638
     639
    625640== Stuff that still needs to be done ==
    626641
Back to Top