mirror of
https://github.com/django/django.git
synced 2024-12-29 12:36:08 +00:00
9 lines
230 B
Python
9 lines
230 B
Python
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"),
|
|
]
|