Commit c035ff0b authored by James Esguerra's avatar James Esguerra

Added function to render 'this_week' template

parent 576f6251
......@@ -5,5 +5,6 @@ from . import views
urlpatterns = [
path('home/', views.ShowHome, name='home'),
path('profile/', views.ShowProfile, name='profile'),
path('key/', views.ShowKey, name='key')
path('key/', views.ShowKey, name='key'),
path('this_week/', views.ShowThisWeek, name='this_week')
]
......@@ -21,3 +21,7 @@ def ShowProfile(request):
def ShowKey(request):
return render(request, 'key.html')
def ShowThisWeek(request):
return render(request, 'this_week.html')
{% extends 'base.html' %}
{% block title %} This Week {% endblock %}
{% block header %} This Week {% endblock %}
{% block content %}
<p>This is the this week page.</p>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment