I have a problem with my wagtail admin interface. In my urls.py I put it like that:
url(r'^cms-admin/', include(wagtailadmin_urls)),
url(r'^cms-search/', include(wagtailsearch_frontend_urls)),
url(r'^cms-documents/', include(wagtaildocs_urls)),
url(r'', include(wagtail_urls)),
All links except the one to users (/cms-admin/users/) work fine. When I go to /cms-admin/users/ I get the following error:
NoReverseMatch at /cms-admin/users/
Reverse for 'wagtailusers_edit' with arguments '(-1L,)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['cms-admin/users/(\\d+)/$']
Further down I see that Django tries to render a template and has problems with that line:
<a href="{% url 'wagtailusers_edit' user.id %}">{{ user.get_full_name|default:user.username }}</a>
Does anyone have an idea what I am doing wrong?
Thanks Magda
EDIT
OK, I found out myself - the problem is that I have an anonymous user with the ID -1 and wagtail uses that pattern: ['cms-admin/users/(\\d+)/$']. Still I don't know how to solve this.