Changes between Version 1 and Version 2 of KSSInDjango
- Timestamp:
- Oct 15, 2007, 8:51:32 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KSSInDjango
v1 v2 186 186 The ``wiki/view.html`` may look like this: 187 187 {{{ 188 #!xml 188 189 <html> 189 190 <head> … … 198 199 But often you have a more complex template with a lot of rendering thing and you don't want to do the rendering by hand. For example, if you have this template: 199 200 {{{ 201 #!xml 200 202 <html> 201 203 <head> … … 233 235 To avoid this ugly example and to keep with the DRY principle, kss.django has a ``ksswidget`` templatetag, and several generic views like ``render_widget``. The template becomes: 234 236 {{{ 237 #!xml 235 238 <html> 236 239 <head>