Hi,
-- has someboday a clue why I get this error.
Without the modifications xadmin works fine, but if I copy for modifications in my ../templates/xadmin/base_site.html
I got the error below.
If I cut this *if step* the template is loaded but without surprise in fragile form. Has anybody an idea where this menu_template
comes from , can't find it yet? With the complete template/xadmin folder in my ../templatesthe problem is still the same.
Thanks Christian
TemplateDoesNotExist at /admin
No exception supplied
Request Method: GET
Request URL: http://localhost:8000/admin
Django Version: 1.5.4
Exception Type: TemplateDoesNotExist
Exception Location: /home/chris/.local/lib/python2.7/site-packages/django/template/loader.py in find_template, line 139
31 | <div id="body-content" class="clearfix row"> |
---|---|
32 | <div id="left-side" class="col-sm-1 col-md-2"> |
33 | {% block navbar %} |
34 | {% if nav_menu %} |
35 | {% include menu_template %} |
36 | {% else %} |
37 | <p>{% trans "You don't have permission to edit anything." %}</p> |
38 | {% endif %} |
39 | {% endblock %} |
40 | </div> |
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ca8f889-7d16-487c-9d92-ae9afc3db383%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment