1. Zeit Code
  2. Untitled project
  3. django-model-validators

Commits

megaman821  committed bb221c6

fix docs typo

  • Participants
  • Parent commits 296f511
  • Branches default

Comments (0)

Files changed (1)

File README.md

View file
 from model_validators.validators import NumericRangeValidator
 
 class MyModel(models.Model):
-    rating = models.PositiveIntegerField(validators=[NumbericRangeValidator(1, 10)])
+    rating = models.PositiveIntegerField(validators=[NumericRangeValidator(1, 10)])
 ```