mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-25 15:34:42 +00:00
Automatically autodiscover
This commit is contained in:
parent
d275aaa3f7
commit
722a553501
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ class SpecNode(template.Node):
|
|||
return os.path.join(os.path.join('cache', filepath), new_name)
|
||||
|
||||
def render(self, context):
|
||||
from ..utils import autodiscover
|
||||
autodiscover()
|
||||
source_image = self.source_image.resolve(context)
|
||||
variable_name = str(self.variable_name)
|
||||
spec_id = self.spec_id.resolve(context)
|
||||
|
|
|
|||
Loading…
Reference in a new issue