django/tests/forms/urls.py

10 lines
247 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"),
)