Commit 1d2116a6 authored by Chester Tan's avatar Chester Tan

added assignments app and url routes

parent 8022aec5
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 assignments
urlpatterns = [
path('', assignments, name='assignments')
]
\ No newline at end of file
from django.shortcuts import render
from django.http import HttpResponse
def assignments(request):
return HttpResponse("This is the Assignments Page!")
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