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

from .views import IndexView, VmDetailView

5 6 7
urlpatterns = patterns('',
                       url(r'^$', IndexView.as_view()),
                       url(r'^vm/(?P<id>\d+)/$', VmDetailView.as_view(),
8
                           name='dashboard.views.detail'),)