Tiny update

assignment to Assignment
parent 6433da8a
...@@ -7,7 +7,7 @@ def homepage(request): ...@@ -7,7 +7,7 @@ def homepage(request):
def assignments(request): def assignments(request):
return HttpResponse('This is the Assignments page!') return HttpResponse('This is the Assignments page!')
class assignments(models.Model): class Assignments(models.Model):
name = models.CharField(max_length = 25) name = models.CharField(max_length = 25)
description = models.Charfield(max_length = 200) description = models.Charfield(max_length = 200)
max_points = models.IntegerField() max_points = models.IntegerField()
......
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