Commit f1e61595 authored by stickykeys99's avatar stickykeys99

Created assignments page and app

parent 8b4b2228
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class AssignmentsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'assignments'
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "assignments"
from django.shortcuts import render
from django.http import HttpResponse
# View for assignment page
def index(request):
return HttpResponse("This is the Assignments page!")
......@@ -21,4 +21,5 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('forum/', include("forum.urls", namespace='forum')),
path('announcements/', include("announcements.urls", namespace='announcements')),
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