urls.py 335 Bytes
Newer Older
Kálmán Viktor committed
1
from django.conf.urls import patterns, url
2

Kálmán Viktor committed
3
from .views import IndexView, VmDetailView, VmList
4

Kálmán Viktor committed
5 6 7 8 9 10 11
urlpatterns = patterns(
    '',
    url(r'^$', IndexView.as_view()),
    url(r'^vm/(?P<pk>\d+)/$', VmDetailView.as_view(),
        name='dashboard.views.detail'),
    url(r'^vm/list/$', VmList.as_view(), name='dashboard.views.vm-list'),
)