django/tests/regressiontests/forms/urls.py

10 lines
247 B
Python
Raw Normal View History

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"),
)