From e0ffb246ae8f253b511e31803d2dcd566a4b9bbb Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Tue, 29 Jan 2013 02:17:52 -0500 Subject: [PATCH] Always use colon as segment separator --- imagekit/models/fields/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagekit/models/fields/__init__.py b/imagekit/models/fields/__init__.py index 2aea3ca..35c78da 100644 --- a/imagekit/models/fields/__init__.py +++ b/imagekit/models/fields/__init__.py @@ -11,7 +11,7 @@ class SpecHostField(SpecHost): # Generate a spec_id to register the spec with. The default spec id is # ":_" 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