django/tests/forms_tests/urls.py

10 lines
246 B
Python

from django.conf.urls import patterns, url
from django.views.generic.edit import UpdateView
from .views import ArticleFormView
urlpatterns = patterns('',
url(r'^model_form/(?P<pk>\d+)/$', ArticleFormView.as_view(), name="article_form"),
)