Skip to content

Commit fb62460

Browse files
committed
Merge pull request justinmayer#7 from hoylemd/patch-1
fix some minor typos in Field option examples
2 parents 6bcbf04 + 9ae616a commit fb62460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoslug/fields.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ class Article(models.Model):
132132
# ensure that slug is unique with given date AND category
133133
slug = AutoSlugField(unique_with=('pub_date','category'))
134134
135-
# ensure that slug in unique with an external object
135+
# ensure that slug is unique with an external object
136136
# assuming that author=ForeignKey(Author)
137137
slug = AutoSlugField(unique_with='author')
138138
139-
# ensure that slug in unique with a subset of external objects (by lookups)
139+
# ensure that slug is unique with a subset of external objects (by lookups)
140140
# assuming that author=ForeignKey(Author)
141141
slug = AutoSlugField(unique_with='author__name')
142142

0 commit comments

Comments
 (0)