mirror of
https://github.com/Hopiu/django.git
synced 2026-04-26 09:44:49 +00:00
Removed unused ForNode.__iter__().
Unknown if it was ever used.
This commit is contained in:
parent
0edff2107f
commit
cf59392e16
1 changed files with 0 additions and 4 deletions
|
|
@ -151,10 +151,6 @@ class ForNode(Node):
|
|||
reversed_text,
|
||||
)
|
||||
|
||||
def __iter__(self):
|
||||
yield from self.nodelist_loop
|
||||
yield from self.nodelist_empty
|
||||
|
||||
def render(self, context):
|
||||
if 'forloop' in context:
|
||||
parentloop = context['forloop']
|
||||
|
|
|
|||
Loading…
Reference in a new issue