# coding=utf-8

import views
from rest_framework import routers


api_router = routers.DefaultRouter()
api_router.register(r'pm25/(?P<city>\w+)/lastest', views.AirConditionViewSets, base_name='pm25')
api_router.register(r'pm25-avg/(?P<city>\w+)/lastest', views.AirAverageViewSets, base_name='pm25-avg')

@@ -13,21 +13,8 @@
 -8%0A%0A
-import views%0A
 from
@@ -45,16 +45,37 @@
 outers%0A%0A
+from . import views%0A%0A
 %0Aapi_rou

Fix python3 ImportError