Add single_version field to projects.models.
parent
5e56cf3e5f
commit
85de6253a8
|
@ -121,6 +121,9 @@ class Project(models.Model):
|
|||
'themes" target="_blank">%s</a>') % _('Examples'))
|
||||
suffix = models.CharField(_('Suffix'), max_length=10, editable=False,
|
||||
default='.rst')
|
||||
single_version = models.BooleanField(
|
||||
_('Single version'), default=False,
|
||||
help_text=_('A single version site has no translations and only a single version.'))
|
||||
default_version = models.CharField(
|
||||
_('Default version'), max_length=255, default='latest',
|
||||
help_text=_('The version of your project that / redirects to'))
|
||||
|
|
Loading…
Reference in New Issue