LocalizedUniqueSlugField refactored

This commit is contained in:
seroy
2017-03-18 22:58:11 +03:00
parent 3951266747
commit 03df76d6d7
4 changed files with 97 additions and 73 deletions

View File

@@ -14,7 +14,7 @@ def define_fake_model(name='TestModel', fields=None):
if fields:
attributes.update(fields)
model = type(name, (AtomicSlugRetryMixin,LocalizedModel,), attributes)
model = type(name, (LocalizedModel,), attributes)
return model