Commit f9b2466a authored by Christianneil Emmanuel Ocampo's avatar Christianneil Emmanuel Ocampo

Fixed merge conflict with master

parents a15f8005 9db18060
from django.db import models
from django.utils.translation import gettext_lazy as _
from assignments import models as assignments_models
class Location(models.Model):
......@@ -23,7 +24,7 @@ class Event(models.Model):
activity = models.TextField(default='')
estimated_hours = models.FloatField(default='')
location = models.ForeignKey(Location, on_delete=models.CASCADE)
course = models.CharField(max_length=255, default='')
course = models.ForeignKey(assignments_models.Course, on_delete=models.CASCADE)
def __str__(self):
return '{} on {} at {}'.format(
......
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