Skip to content

Instantly share code, notes, and snippets.

@chriskief

chriskief/view.py

Created Oct 24, 2013
Embed
What would you like to do?
# get the product or show the not found template
product = get_object_or_template(Product, 'templates/product/not_found.html', pk=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment