Oops, sorry about that. Here is the error:

TemplateSyntaxError at /admin/
Caught an exception while rendering: 'str' object is not callable

admin/base.html, error at line 30
30       {% url django-admindocs-docroot as docsroot %}

On Nov 14, 1:47 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Nov 14, 4:42 am, neridaj <neri...@gmail.com> wrote:
>
>
>
> > I'm using django-tagging and I think it's causing an error when I try
> > to access the admin page. If I comment out the urls that reference
> > django-tagging views the error goes away.
>
> > from django.conf.urls.defaults import *
> > from blog.models import Entry, Link
> > from tagging.models import Tag
>
> > urlpatterns = patterns(''
> >     (r'^$', 'django.views.generic.list_detail.object_list',
> > { 'queryset': Tag.objects.all() }),
> >     (r'^entries/(?P<tag>[-\w]+)/$',
> > 'tagging.views.tagged_object_list', { 'queryset_or_model': Entry,
> > 'template_name': 'blog/entries_by_tag.html' }),
> >     (r'^links/(?P<tag>[-\w]+)/$', 'tagging.views.tagged_object_list',
> > { 'queryset_or_model': Link, 'template_name': 'blog/
> > links_by_tag.html' }),
> > )
>
> > Thanks for any suggestions,
>
> > Jason
>
> And are we supposed to guess what the error is?
> --
> DR.

--

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=.


Reply via email to