Changes between Version 63 and Version 64 of RemovingTheMagic
- Timestamp:
- Feb 12, 2006, 5:58:05 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v63 v64 191 191 {{{django.core.extensions.DjangoContext}}} has been renamed to {{{RequestContext}}} and moved to {{{django.template.RequestContext}}}. 192 192 193 You'll need to update {{{TEMPLATE_LOADERS}}} in your settings from:193 You'll need to remove ".core." from your {{{TEMPLATE_LOADERS}}} settings values. Old: 194 194 {{{ 195 195 #!python … … 201 201 }}} 202 202 203 ...to:203 New: 204 204 205 205 {{{ … … 210 210 # 'django.template.loaders.eggs.load_template_source', 211 211 ) 212 }}} 213 214 Custom template tag definitions need a similar change. Old: 215 {{{ 216 #!python 217 from django.core import template 218 register = template.Library() 219 }}} 220 221 New: 222 {{{ 223 #!python 224 from django.template import Library 225 register = Library() 212 226 }}} 213 227 … … 623 637 }}} 624 638 639 625 640 == Stuff that still needs to be done == 626 641