On 1 Oct 2010, at 15:07, simon_saffer wrote: > In the web site I'm creating many of the pages will not be database > driven. > I am trying to set up my urls.py so that all pages that all extend the > base.html template > can be rendered in the same way. I'm sure that I shouldn't need a > unique pair in urlpatterns > in urls.py for each *.html that I want to show.
It sounds as if you may need to direct_to_template generic view... http://docs.djangoproject.com/en/dev/ref/generic-views/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.