Commit 58bdfef5 authored by kylemendozaa's avatar kylemendozaa

Created Assignments view function and url

parent a3cd3071
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = 'assignments'
\ No newline at end of file
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("This is the Assignments page!")
......@@ -44,6 +44,7 @@ INSTALLED_APPS = [
'announcements',
'forum',
'homepage',
'assignments',
]
MIDDLEWARE = [
......
......@@ -21,4 +21,5 @@ urlpatterns = [
path('announcements/', include('announcements.urls', namespace='announcements')),
path('forum/', include('forum.urls', namespace='forum')),
path('homepage/', include('homepage.urls', namespace='homepage')),
path('assignments/', include('assignments.urls', namespace='assignments')),
]
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