ASKBOT / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k stars 627 forks source link

Invalid url() lookup by name #870

Closed martin-bts closed 3 years ago

martin-bts commented 3 years ago

django.conf.url() is an alias to django.urls.re_path() (doc), which has the signature route, view, kwargs=None, name=None (doc), where view is the same as for django.urls.path (doc), where it says

The view argument is a view function or the result of as_view() for class-based views. It can also be an django.urls.include().

This means we can't use strings for lookups as we were able to. This is addressed in #864 .

martin-bts commented 3 years ago

fixed in master