Commit 9b9c8b60 authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

deleted '()' after CASCADE

parent ed904e99
...@@ -21,7 +21,7 @@ class Event(models.Model): ...@@ -21,7 +21,7 @@ class Event(models.Model):
target_datetime = models.DateTimeField(max_length=50) target_datetime = models.DateTimeField(max_length=50)
activity = models.CharField(max_length=50) activity = models.CharField(max_length=50)
estimated_hours = models.FloatField(max_length=50) estimated_hours = models.FloatField(max_length=50)
location = models.ForeignKey(Location, on_delete=models.CASCADE()) location = models.ForeignKey(Location, on_delete=models.CASCADE)
course = models.CharField(max_length=69, default="") course = models.CharField(max_length=69, default="")
......
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