locky 2 жил өмнө
parent
commit
09380ffcdf
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Ansjer/urls.py

+ 1 - 1
Ansjer/urls.py

@@ -294,7 +294,7 @@ urlpatterns = [
     url(r'^device/StatisticsIpRegion$', DeviceConfirmRegion.StatisticsIpRegion.as_view()),
 
     # Iot Core
-    url(r'iot/(?P<operation>.*)$', IotCoreController.IotCoreView.as_view()),
+    re_path('iot/(?P<operation>.*)$', IotCoreController.IotCoreView.as_view()),
 
     # S3预签名
     url(r's3_getsts/(?P<operation>.*)$', S3GetStsController.S3GetStsView.as_view()),