On Wed, Aug 26, 2009 at 3:33 PM, Ryan K <ryankas...@gmail.com> wrote:

>
> This is where it says the problem is in the template:
>
> Template error
>
> In template /usr/local/lib/python2.6/dist-packages/django/contrib/
> admin/templates/admin/base.html, error at line 30
> Caught an exception while rendering: unsupported operand type(s) for
> +=: 'function' and 'list'
> 20      <!-- Header -->
> 21      <div id="header">
> 22      <div id="branding">
> 23      {% block branding %}{% endblock %}
> 24      </div>
> 25      {% if user.is_authenticated and user.is_staff %}
> 26      <div id="user-tools">
> 27      {% trans 'Welcome,' %}
> 28      <strong>{% firstof user.first_name user.username %}</strong>.
> 29      {% block userlinks %}
> 30      {% url django-admindocs-docroot as docsroot %}   <----- ERROR HERE
>

Double check your url patterns.  The {% url %} tag causes your entire url
configuration to get processed, and any errors will get reported as being
due to the {% url %} tag, even though that specific tag is blameless.  The
problem is likely in something you recently added/changed in your url
configuration.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to