Browse Source

打开admin后台

yf_yzl 2 năm trước cách đây
mục cha
commit
fc3f123fe1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      bigdataAPI/urls.py

+ 2 - 2
bigdataAPI/urls.py

@@ -13,12 +13,12 @@ Including another URLconf
     1. Import the include() function: from django.urls import include, path
     2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
 """
-# from django.contrib import admin
+from django.contrib import admin
 from django.urls import path, include
 from apps.Weather.views import GetWeather, TestAPI
 
 urlpatterns = [
-    # path('admin/', admin.site.urls),
+    path('admin/', admin.site.urls),
     path('iotcard/', include('apps.IOTCard.urls')),
     path('user/', include('apps.UserApp.urls')),
     path('equipment/', include('apps.Equipment.urls')),