Changes between Version 16 and Version 17 of ShortcutSyntaxIdeas
- Timestamp:
- Sep 22, 2005, 3:38:00 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ShortcutSyntaxIdeas
v16 v17 78 78 ''I think specifying HttpResponse outside of the function is a better idea: 79 79 {{{return HttpResponse(load_and_render('index', 'title': 'Page Title', 'primes': [2, 3, 5, 7], 'header': 'The first 4 primes:'))}}} 80 I'll be using the templating system for a LOT more than just HTTP (system configs etc). Maybe have load_and_respond(), load_and_return()?'' 80 I'll be using the templating system for a LOT more than just HTTP (system configs etc). Maybe have load_and_respond(), load_and_return()?'' -- Boffbowsh 81 81 == Idea 4: Simplified decorator == 82 82