I have a django site with 3 application. in my urls.py i try to include the specific app's url in this fashion:
url(r'^oferty/', include('oferty.urls', namespace='oferty')),
but when i start or migrate my app i get this error:
../site-packages/django/urls/conf.py", line 39, in include 'Specifying a namespace in include() without providing an app_name ' django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.
How can i include apps urls in my main url.py file? I use django 2.2
so many thanks in advance