mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-23 16:30:25 +00:00
Always use colon as segment separator
This commit is contained in:
parent
e48817a5ec
commit
e0ffb246ae
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class SpecHostField(SpecHost):
|
|||
# Generate a spec_id to register the spec with. The default spec id is
|
||||
# "<app>:<model>_<field>"
|
||||
if not getattr(self, 'spec_id', None):
|
||||
spec_id = (u'%s:%s_%s' % (cls._meta.app_label,
|
||||
spec_id = (u'%s:%s:%s' % (cls._meta.app_label,
|
||||
cls._meta.object_name, name)).lower()
|
||||
|
||||
# Register the spec with the id. This allows specs to be overridden
|
||||
|
|
|
|||
Loading…
Reference in a new issue