from django.conf.urls import patterns, include, url
from vietskill import views

urlpatterns = patterns('',
    url(r'^$', views.index, name='index'),
    url(r'^about/$', views.about, name='about'),

    url(r'^teaching-day/$', views.teaching_day, name='teaching_day'),
    url(r'^online-day/$', views.online_day, name='online_day'),
    url(r'^absent-day/$', views.absent_day, name='absent_day'),
    url(r'^mistake/$', views.mistake, name='mistake'),

    url(r'^profile-all/$', views.profile_all, name='profile_all'),
    url(r'^profile-detail/(?P<pk>[0-9]+)/$', views.profile_detail, name='profile_detail'),
    url(r'^profile/add/$', views.profile_add, name='profile_add'),
    url(r'^profile/(?P<pk>[0-9]+)/edit/$', views.profile_edit, name='profile_edit'),
)