def get_containers(self):
		template = DjangoTemplate(self.code)
		return templates.get_containers(template)
Returns a tuple where the first item is a list of names of contentlets referenced by containers, and the second item is a list of tuples of names and contenttypes of contentreferences referenced by containers. This will break if there is a recursive extends or includes in the template code. Due to the use of an empty Context, any extends or include tags with dynamic arguments probably won't work.
dataset/ETHPy150Open ithinksw/philo/philo/models/pages.py/Template.get_containers