Is there any variable called parent_template in the context ?
2016-11-01 15:26 GMT+01:00 Prateek <prateek.idev@gmail.com>:
> I am reading Django Unleashed in which the author uses the following code to
> extends the template
>
> {% extends parent_template|default:"organizer/base_organizer.html" %}
>
>
> What does parent_template do ?
>
>
> I am unable to find this tag in the Django Documentation
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/41a3aaf7-4994-4fc1-9ec2-eff3e8eebd91%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
Cordialement, Coues Ludovic
+336 148 743 42
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTb43P6Uu0Ba1Oded0y6UezFYdqaPs8Sk5Xgygbk91JUZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment