Skip to content

Commit

Permalink
Merge pull request IEEE-VIT#9 from dickyw71/dickyw71/4
Browse files Browse the repository at this point in the history
Dickyw71/4
  • Loading branch information
SameeranB authored Oct 6, 2019
2 parents 97ad78d + 99c7355 commit 742cfba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

def index_view(request):
if request.method == 'GET':
return render(request, 'Index.html')
return HttpResponse(405)
return render(request, 'Main/Index.html')
return HttpResponse(405)
9 changes: 9 additions & 0 deletions templates/Main/Index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<h2>Welcome to Django To-Do!</h2>
<ul>
<li>
<a href="/signup/">Sign-up</a>
</li>
<li>
<a href="/login/">Login</a>
</li>
</ul>

0 comments on commit 742cfba

Please sign in to comment.