thanks a lot. that´s working.
patrick
Am 27.02.2007 um 18:24 schrieb Joseph Kocherhans:
>
> On 2/27/07, va:patrick.kranzlmueller <[EMAIL PROTECTED]>
> wrote:
>>
>> from django.conf.urls.defaults import *
>>
>> urlpatterns = patterns('',
>> (r'^stars/',
On 2/27/07, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote:
>
> from django.conf.urls.defaults import *
>
> urlpatterns = patterns('',
> (r'^stars/', 'django.views.generic.simple.direct_to_template',
> {'template': 'site/stars/stars_overview.html'}, extra_context=
> {'category':
It looks like multiple dictionaries are being passed to the view.
Should 'extra_context' be included in the first one (just like the
'template' argument)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^stars/', 'django.views.generic.simple.direct_to_template',
{'template': 'site/stars/stars_overview.html'}, extra_context=
{'category': 'stars', 'subcategory': 'none'}),
)
isn´t that supposed to work? did I miss
On 2/27/07, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote:
>
> why doesn´t this work?
> (r'^stars/', 'django.views.generic.simple.direct_to_template',
> {'template': 'site/stars/stars_overview.html'}, extra_context=
> {'category': 'stars', 'subcategory': 'none'}),
>
> the error is "invalid
why doesn´t this work?
(r'^stars/', 'django.views.generic.simple.direct_to_template',
{'template': 'site/stars/stars_overview.html'}, extra_context=
{'category': 'stars', 'subcategory': 'none'}),
the error is "invalid syntax".
thanks,
patrick
6 matches
Mail list logo