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