|
|
@@ -15,7 +15,7 @@ Including another URLconf
|
|
|
"""
|
|
|
# from django.contrib import admin
|
|
|
from django.urls import path, include
|
|
|
-from apps.apply_weather import GetWeather
|
|
|
+from apps.apply_weather import GetWeather, TestAPI
|
|
|
|
|
|
urlpatterns = [
|
|
|
# path('admin/', admin.site.urls),
|
|
|
@@ -24,5 +24,6 @@ urlpatterns = [
|
|
|
path('equipment/', include('apps.Equipment.urls')),
|
|
|
path('pestanalysis/', include('apps.PestAnalysis.urls')),
|
|
|
path('qxzconfig/', include('apps.QxzApp.urls')),
|
|
|
- path("yf_weather", GetWeather.as_view(), name="weather")
|
|
|
+ path("yf_weather", GetWeather.as_view(), name="weather"),
|
|
|
+ path("test", TestAPI.as_view(), name="test")
|
|
|
]
|