mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
4b8e9492d9
step="any" is required for non-integer values. See:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#step
Covers behaviour added in 7ec2a21be1
.
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'),
|
|
]
|