mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
No need to call spec; the registry does that
This commit is contained in:
parent
0c4d9738c6
commit
3e2c3803ff
1 changed files with 0 additions and 2 deletions
|
|
@ -35,8 +35,6 @@ class SpecResultNodeMixin(object):
|
|||
autodiscover()
|
||||
spec_id = self._spec_id.resolve(context)
|
||||
spec = specs.registry.get_spec(spec_id) # TODO: What "hints" here?
|
||||
if callable(spec):
|
||||
spec = spec()
|
||||
return spec
|
||||
|
||||
def get_source_file(self, context):
|
||||
|
|
|
|||
Loading…
Reference in a new issue