Commit 3875f635 authored by James Esguerra's avatar James Esguerra

Added function to render 'today' template

parent c035ff0b
......@@ -6,5 +6,6 @@ urlpatterns = [
path('home/', views.ShowHome, name='home'),
path('profile/', views.ShowProfile, name='profile'),
path('key/', views.ShowKey, name='key'),
path('this_week/', views.ShowThisWeek, name='this_week')
path('this_week/', views.ShowThisWeek, name='this_week'),
path('today/', views.ShowToday, name='today'),
]
......@@ -25,3 +25,7 @@ def ShowKey(request):
def ShowThisWeek(request):
return render(request, 'this_week.html')
def ShowToday(request):
return render(request, 'today.html')
......@@ -6,6 +6,16 @@
{% block content %}
<p>This is the this week page.</p>
<h2>03.15.MON - 03.21.SUN</h2>
<p>• 7AM water plants</p>
<p>• 8AM walk the dogs</p>
<p>- don't cram</p>
<p>○ 18 2:30PM Personal Counseling with Sir Marvin</p>
<p>○ 20 1PM DSC org meeting</p>
<p>- never hit up a random girl on twitter ever again</p>
<p>○ 21 7AM ACOMM org meeting</p>
{% endblock %}
{% extends 'base.html' %}
{% block title %} This Week {% endblock %}
{% block header %} This Week {% endblock %}
{% block content %}
<p>This is the today 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