We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bcbf04 + 9ae616a commit fb62460Copy full SHA for fb62460
autoslug/fields.py
@@ -132,11 +132,11 @@ class Article(models.Model):
132
# ensure that slug is unique with given date AND category
133
slug = AutoSlugField(unique_with=('pub_date','category'))
134
135
- # ensure that slug in unique with an external object
+ # ensure that slug is unique with an external object
136
# assuming that author=ForeignKey(Author)
137
slug = AutoSlugField(unique_with='author')
138
139
- # ensure that slug in unique with a subset of external objects (by lookups)
+ # ensure that slug is unique with a subset of external objects (by lookups)
140
141
slug = AutoSlugField(unique_with='author__name')
142
0 commit comments