Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
f903669d
Kaydet (Commit)
f903669d
authored
Haz 30, 2018
tarafından
sedrubal
Kaydeden (comit)
Tim Graham
Haz 30, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed argument name for validators inheriting from BaseValidator.
üst
c530428d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
validators.txt
docs/ref/validators.txt
+8
-8
No files found.
docs/ref/validators.txt
Dosyayı görüntüle @
f903669d
...
...
@@ -233,34 +233,34 @@ to, or in lieu of custom ``field.clean()`` methods.
``MaxValueValidator``
---------------------
.. class:: MaxValueValidator(
max
_value, message=None)
.. class:: MaxValueValidator(
limit
_value, message=None)
Raises a :exc:`~django.core.exceptions.ValidationError` with a code of
``'max_value'`` if ``value`` is greater than ``
max
_value``.
``'max_value'`` if ``value`` is greater than ``
limit
_value``.
``MinValueValidator``
---------------------
.. class:: MinValueValidator(
min
_value, message=None)
.. class:: MinValueValidator(
limit
_value, message=None)
Raises a :exc:`~django.core.exceptions.ValidationError` with a code of
``'min_value'`` if ``value`` is less than ``
min
_value``.
``'min_value'`` if ``value`` is less than ``
limit
_value``.
``MaxLengthValidator``
----------------------
.. class:: MaxLengthValidator(
max_length
, message=None)
.. class:: MaxLengthValidator(
limit_value
, message=None)
Raises a :exc:`~django.core.exceptions.ValidationError` with a code of
``'max_length'`` if the length of ``value`` is greater than ``
max_length
``.
``'max_length'`` if the length of ``value`` is greater than ``
limit_value
``.
``MinLengthValidator``
----------------------
.. class:: MinLengthValidator(
min_length
, message=None)
.. class:: MinLengthValidator(
limit_value
, message=None)
Raises a :exc:`~django.core.exceptions.ValidationError` with a code of
``'min_length'`` if the length of ``value`` is less than ``
min_length
``.
``'min_length'`` if the length of ``value`` is less than ``
limit_value
``.
``DecimalValidator``
--------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment