mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +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"),
|
|
]
|