Skip to content

Instantly share code, notes, and snippets.

@andrewebdev
Created August 7, 2014 14:03
Show Gist options
  • Save andrewebdev/0756c8a2149e2aa29887 to your computer and use it in GitHub Desktop.
Save andrewebdev/0756c8a2149e2aa29887 to your computer and use it in GitHub Desktop.
def get_template_names(self, **kwargs):
if self.template_name:
return self.template_name
return self.page.get_template()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment