Django url namespaces giving errors
Django url namespaces giving errors I am new to the django framework. I currently started learning from an online video tutorial and I came across some errors. I have an app called groups which has two separate view files namely company and family. Due to that I have my groups/url file as this: from django.urls import path, include, re_path from . views import company from . views import family app_name = 'groups' company_patterns = [ path('create/', company.Create.as_view(), name='create'), re_path(r'^edit/(?P<slug>w+)/$', company.Update.as_view(), name='update'), path('<str:slug>/', company.Details.as_view(), name='detail'), ] family_patterns = [ path('create/', family.Create.as_view(), name='create'), path('edit/<str:slug>/', family.Update.as_view(), name='update'), path('<str:slug>/', fami...