mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-29 18:18:57 +03:00
LocalizedUniqueSlugField refactored
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user