Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Topic(FAQBase):
- """A topic that a Question can belong to."""
- title = models.CharField(_(u'title'), max_length=255)
- slug = models.SlugField(_(u'slug'), unique=True, help_text=_(u'Used in \
- the URL for the topic. Must be unique.'))
- description = models.TextField(_(u'description'), blank=True,
- help_text=_(u'A short description of this topic.'))
- sites = models.ManyToManyField(Site, verbose_name=_(u'sites'),
- related_name='faq_topics')
- template_name = models.CharField(_(u'template name'), blank=True,
- max_length=255, help_text=_(u'Optional template to use for this \
- topic\'s detail page, e.g., "faq/topics/special.html". If not \
- given the standard template will be used.'))
Add Comment
Please, Sign In to add comment