Code

Changes between Version 18 and Version 19 of NewAdminChanges


Ignore:
Timestamp:
11/02/05 07:21:27 (8 years ago)
Author:
rjwittams
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewAdminChanges

    v18 v19  
    1010 
    1111In future, it will also make changes to the admin functionality easier. 
     12 
     13Any questions? I am rjwittams on IRC, and you can mail me at robert@NOSPAMwittams.com 
    1214 
    1315= New-admin changes = 
     
    198200A new tag, called {{{include}}}, which is an improvement on ssi parsed. See #598. 
    199201 
    200 Improved error reporting when debug is on. See #603. Also note that loaders must return a tuple of (source, filename) rather than just the source of a loaded template. 
     202Improved error reporting when debug is on. See #603. Also note that loaders must return a tuple of (source, filename) rather than just the source of a loaded template.  
     203 
     204To make this work, add "django.middleware.template_debug.TemplateDebugMiddleware" to MIDDLEWARE_CLASSES,  
     205and make a template called template_debug.html which just does: 
     206{% include "admin/template_debug" %} 
     207If anyone has a better suggestion of how to deal with this, let me know. 
    201208 
    202209Template tag decorators see #625 . This can make defining some template tags very easy.