From 44a263a27e02a2977ac9f05328825844ac6e67ed Mon Sep 17 00:00:00 2001 From: Alvaro Hernandez Date: Sat, 5 Oct 2024 08:58:58 -0600 Subject: [PATCH] Trying other ways to import modules in python --- doctorapp/urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doctorapp/urls.py b/doctorapp/urls.py index 0d12102..d4c2a42 100644 --- a/doctorapp/urls.py +++ b/doctorapp/urls.py @@ -16,10 +16,12 @@ """ from django.contrib import admin from django.urls import path, include +import rest_framework.urls as framework_urls + urlpatterns = [ path('admin/', admin.site.urls), - path('api-auth/', include('rest_framework.urls')), + path('api-auth/', include(framework_urls)), path('', include('docs.urls')), path('api/', include('patients.urls')), path('api/', include('doctors.urls')),