We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc248aa commit dac8276Copy full SHA for dac8276
readthedocs/projects/models.py
@@ -81,7 +81,8 @@ class Project(models.Model):
81
users = models.ManyToManyField(User, verbose_name=_('User'),
82
related_name='projects')
83
name = models.CharField(_('Name'), max_length=255)
84
- slug = models.SlugField(_('Slug'), max_length=255, unique=True)
+ # A DNS label can contain up to 63 characters.
85
+ slug = models.SlugField(_('Slug'), max_length=63, unique=True)
86
description = models.TextField(_('Description'), blank=True,
87
help_text=_('The reStructuredText '
88
'description of the project'))
0 commit comments