Hi,
I've started to migrate my site from django 0.96.3 to 1.1 and have
encountered a few snags but one seems particularly odd as it only
happens in the admin and for the user-tools in "admin/templates/
base.html" . I get a template synthax error "Caught an exception
while rendering: Empty module name " with this line :
{% url django-admindocs-docroot as docsroot %}
being passed as the culprit... Am I missing something from the
migration ? Should I include a lib to enable the admin ? I have
resynced the db and also removing the "user-tools" enables me to enter
the admin...
Thank you for any pointers,
Stephane
here is what my "user-tools" looks like :
<div id="user-tools">
{% trans 'Welcome,' %}
<strong>{% firstof user.first_name user.username %}</
strong>.
{% block userlinks %}
{% url django-admindocs-docroot as docsroot %}
{% if docsroot %}
<a href="{{ docsroot }}">{% trans 'Documentation'
%}</a> /
{% endif %}
{% url admin:password_change as password_change_url %}
{% if password_change_url %}
<a href="{{ password_change_url }}">
{% else %}
<a href="{{ root_path }}password_change/">
{% endif %}
{% trans 'Change password' %}</a> /
{% url admin:logout as logout_url %}
{% if logout_url %}
<a href="{{ logout_url }}">
{% else %}
<a href="{{ root_path }}logout/">
{% endif %}
{% trans 'Log out' %}</a>
{% endblock %}
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---