Get template name in template tag ( Django )
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Jungle Looping
--
Chapters
00:00 Question
01:11 Accepted answer (Score 3)
02:44 Answer 2 (Score 3)
05:06 Thank you
--
Full question
https://stackoverflow.com/questions/8240...
Question links:
[Getting the template name in django template]: https://stackoverflow.com/questions/8593...
Answer 1 links:
[Template]: https://code.djangoproject.com/browser/d...
[Parser]: https://code.djangoproject.com/browser/d...
[XY problem]: https://meta.stackexchange.com/q/66377/1...
[Added optional arg to ]: https://gist.github.com/1388704#L144
[Added template name as extra attribute to parser]: https://gist.github.com/1388704#L153
[Passed in the template name when calling ]: https://gist.github.com/1388704#L125
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #django #djangotemplates
#avk47
    --
Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Jungle Looping
--
Chapters
00:00 Question
01:11 Accepted answer (Score 3)
02:44 Answer 2 (Score 3)
05:06 Thank you
--
Full question
https://stackoverflow.com/questions/8240...
Question links:
[Getting the template name in django template]: https://stackoverflow.com/questions/8593...
Answer 1 links:
[Template]: https://code.djangoproject.com/browser/d...
[Parser]: https://code.djangoproject.com/browser/d...
[XY problem]: https://meta.stackexchange.com/q/66377/1...
[Added optional arg to ]: https://gist.github.com/1388704#L144
[Added template name as extra attribute to parser]: https://gist.github.com/1388704#L153
[Passed in the template name when calling ]: https://gist.github.com/1388704#L125
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #django #djangotemplates
#avk47