Skip to content

Instantly share code, notes, and snippets.

@kdmukai
Created June 9, 2012 20:42
Show Gist options
  • Save kdmukai/2902516 to your computer and use it in GitHub Desktop.
Save kdmukai/2902516 to your computer and use it in GitHub Desktop.
Adding a page with Django
{% extends 'visitor/_visitor_base.html' %}
{% block page_title %}About Us{% endblock %}
{% block page_headline_text %}About Us{% endblock %}
{% block page_content %}
This is the About Us text
{% endblock %}
url(r'^about_us/$', TemplateView.as_view(template_name="visitor/about_us.html"), name='about_us'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment