django/tests/forms_tests/urls.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
230 B
Python
Raw Normal View History

from django.urls import path
from .views import ArticleFormView, form_view
urlpatterns = [
path("form_view/", form_view, name="form_view"),
path("model_form/<int:pk>/", ArticleFormView.as_view(), name="article_form"),
]