Total Complexity | 0 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """ url configuration """ |
||
2 | from django.conf.urls import url |
||
3 | |||
4 | from . import views |
||
5 | |||
6 | urlpatterns = [ |
||
7 | # When not using a class, use line below |
||
8 | # url(r'^$', views.index, name='index'), |
||
9 | url(r'^$', views.IndexView.as_view(), name='index'), |
||
10 | ] |
||
11 |