Created
June 9, 2012 20:42
-
-
Save kdmukai/2902516 to your computer and use it in GitHub Desktop.
Adding a page with Django
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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 %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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