2 Feb 2013 sness   » (Journeyer)

URL dispatcher | Django documentation | Django

URL dispatcher | Django documentation | Django: "Any URLconf tuple can have an optional third element, which should be a dictionary of extra keyword arguments to pass to the view function.

For example:

urlpatterns = patterns('blog.views',
(r'^blog/(?P\d{4})/$', 'year_archive', {'foo': 'bar'}),

'via Blog this'

Syndicated 2013-02-02 00:43:00 from sness

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!