Commits

aaronvanderlip  committed 5b1a65a

Fixed incorrect docstring

  • Participants
  • Parent commits 6a4d41b

Comments (0)

Files changed (1)

File autoslug/fields.py

             unique but there will be no two articles with the same slug within
             any month.
             '''
+            objects = models.Manager()
             title = models.CharField(max_length=200)
-            slug = AutoSlugField(populate_from='title', unique_with='pub_date__month')
+            slug = AutoSlugField(populate_from='title', unique_with='pub_date__month', instance_manager=objects)
 
         class NewsArticle(Article):
             pass