max string in model django code example
Example 1: django form set min and max value
overs = models.PositiveIntegerField(default=10, validators=[MinValueValidator(1), MaxValueValidator(100)])
Example 2: django positive integer field max value?
from django.db import models
class MyModel(models.Model):
number_of_seconds = models.BigIntegerField()