Thanks, that was it. Bit of a simple one I probably should have
spotted.
Andrew
On 25 Sep, 19:42, Tim Chase wrote:
> > Can somebody tell me why i get a syntax error with this named URL
> > pattern?
>
> > urlpatterns = patterns('',
> > url(r'^feed/(?P.*)/$',
> > 'django.contrib.syndicati
> Can somebody tell me why i get a syntax error with this named URL
> pattern?
>
> urlpatterns = patterns('',
> url(r'^feed/(?P.*)/$',
> 'django.contrib.syndication.views.feed',
> {'feed_dict': feeds}
looks like a missing comma here...
> name="feed"),
> )
-tim
--~--~---
Can somebody tell me why i get a syntax error with this named URL
pattern?
urlpatterns = patterns('',
url(r'^feed/(?P.*)/$',
'django.contrib.syndication.views.feed',
{'feed_dict': feeds}
name="feed"),
)
This is the traceback:
Traceback:
File
3 matches
Mail list logo