devel:django_introduction
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devel:django_introduction [2009/06/17 08:46] – Change wording jorabra | devel:django_introduction [2010/01/13 11:30] (current) – Add link to django_template blueprint eide | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ==== URL configuration ==== | ==== URL configuration ==== | ||
| - | The root URL configuration for all Django-related in NAV is located in '' | + | The root URL configuration for all Django-related |
| When creating a new Django app, create a new submodule for your app in the '' | When creating a new Django app, create a new submodule for your app in the '' | ||
| Line 126: | Line 126: | ||
| As more parts of NAV are (re)implemented in Django, one should look into replacing the wrapping of Django templates in Cheetah templates with pure Django templates throughout the stack. Even if this may require maintenance of base templates in both Cheetah and Django for quite some time, it would result in much more flexibility with regard to page titles, bread crumb paths, etc. when using Django templates. | As more parts of NAV are (re)implemented in Django, one should look into replacing the wrapping of Django templates in Cheetah templates with pure Django templates throughout the stack. Even if this may require maintenance of base templates in both Cheetah and Django for quite some time, it would result in much more flexibility with regard to page titles, bread crumb paths, etc. when using Django templates. | ||
| + | |||
| + | Proposal in [[devel: | ||
| ==== Unit testing ==== | ==== Unit testing ==== | ||
devel/django_introduction.1245228374.txt.gz · Last modified: by jorabra
