Przeglądaj źródła

Merge branch 'test' of http://192.168.136.99:3000/servers/ASJServer into test

guanhailong 2 lat temu
rodzic
commit
860257a636
1 zmienionych plików z 1 dodań i 1 usunięć
  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()),