No, there is no limit for textfield. But you can do the hack using this: from django.core.validators import MaxLengthValidator class Comment(models.Model): comment = models.TextField(validators=[MaxLengthValidator(200)])
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACNsr29nJmR4ZeOpVGnTA75HZuBgF92j25Q7NPzGFyyHq6qyUg%40mail.gmail.com.