Skip to content

Commit

Permalink
about
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbatu committed Apr 29, 2020
1 parent 07aa3b5 commit 6fe9df1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meeting_planner/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"""
from django.contrib import admin
from django.urls import path
from website.views import welcome, date
from website.views import welcome, date, about

urlpatterns = [
path('admin/', admin.site.urls),
path('', welcome),
path('date/', date)
path('date', date),
path('about', about),
]
4 changes: 4 additions & 0 deletions website/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ def welcome(request):

def date(request):
return HttpResponse('This request is made at ' + str(datetime.now()))


def about(request):
return HttpResponse('<h1>About</h1> Pyl is Pyl!')

0 comments on commit 6fe9df1

Please sign in to comment.