class Collection(models.Model):
"""A collection of books, which might be defined before publishing them."""
title = models.CharField(_('title'), max_length=120, db_index=True)
slug = models.SlugField(_('slug'), max_length=120, primary_key=True)
class Collection(models.Model):
"""A collection of books, which might be defined before publishing them."""
title = models.CharField(_('title'), max_length=120, db_index=True)
slug = models.SlugField(_('slug'), max_length=120, primary_key=True)