nicolazilio

Results 8 comments of nicolazilio

If I downgrade to `wiki==0.7` I don't have this problem anymore. In the process of downgrading `wiki`, the following packages are also downgraded: `Django` 3.2.6 > 3.1.13, `bleach` 3.3.1 >...

I absolutely have no clue what's going on there :). Does it not make more sense that there is something "wrong" [here](https://github.com/django-wiki/django-wiki/blob/56d1aa89521831eedb5c3fcdda001f86602721e4/src/wiki/forms.py#L91)?

For me the problem is that `urlpath.path` is an empty string and the root of my domain points to the admin site. As a result, `match.app_name` == `admin` rather than...

This is how my `urlpatterns` in 'url.py' looks like (from [here](https://github.com/helle-ulrich-lab/lab-database/blob/9ea1c73853882acb4ed9c45b6bb3d032fb730259/config/urls.py#L138)) ```python urlpatterns = [ url(r'^wiki/(?P[0-9]+)/plugin/attachments/download/(?P[0-9]+)/$', login_required(AttachmentDownloadView.as_view())), path('notifications/', include('django_nyt.urls')), path('wiki/', decorated_includes(wiki_check_login_guest, get_wiki_pattern())), path('password_change/', check_guest(auth_views.PasswordChangeView.as_view(success_url=reverse_lazy('admin:password_change_done')))), path('', main_admin_site.urls), ] ``` The main...

Ok, the problem is with `path('', main_admin_site.urls)`: if I change the path prefix or comment out the line altogether, the error is gone. I can't move that line before the...

Is there any way to actually do this? I mean, is it possible to email the admins when a background task fails?

@craigmaloney thanks a lot! I will look into it.