from django.urls import path, re_path

from .views import *
from .wx import *

urlpatterns = [
    path('', index, name='index'),
    path('log', log, name='log'),
    path('china', china, name='china'),
    path('station', station, {'station': 'index'}, name='station_index'),
    path('station/<station>', station, name='station'),
    path('line', line, {'line': 'index'}, name='line_index'),
    re_path('line/(?P<line>.*)', line, name='line'),
    path('city', city, {'city': 'index'}, name='city_index'),
    path('city/<city>', city, name='city'),
    path('data', data, name='data'),
    path('wx', wx),
]
