Skip to content
Snippets Groups Projects
Commit c330e06d authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Use abstract ModelWithCreatedUpdatedFields for Note model

this adds the fields `created_at`, `created_by`, `updated_at` and `updated_by`
parent 9a22adb7
No related branches found
No related tags found
No related merge requests found
......@@ -1158,7 +1158,7 @@ class TimeSlot(models.Model):
return str("".join(s for s in string if s.isdigit()))
class Note(ModelWithImageFields):
class Note(ModelWithImageFields, ModelWithCreatedUpdatedFields):
timeslot = models.OneToOneField(TimeSlot, on_delete=models.CASCADE, unique=True)
contributors = models.ManyToManyField(Host, related_name="contributions")
owner = models.ForeignKey(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment