mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-26 09:50:24 +00:00
Remove image cache backend field registration
This commit is contained in:
parent
5a1dd0c459
commit
436a73dc9a
1 changed files with 0 additions and 6 deletions
|
|
@ -65,12 +65,6 @@ class ImageSpecField(SpecHost):
|
|||
# later, from outside of the model definition.
|
||||
self.set_spec_id(self.spec_id)
|
||||
|
||||
# Register the field with the image_cache_backend
|
||||
try:
|
||||
self.spec.image_cache_backend.register_field(cls, self, name)
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
||||
class ProcessedImageField(models.ImageField, SpecHost):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue