Unverified Commit 46306a40 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Fix missing on_delete

parent f6cc10c1
......@@ -21,7 +21,9 @@ class Device(models.Model):
help_text=_("Inactive devices will not be sent notifications")
user = models.ForeignKey(django_settings.AUTH_USER_MODEL,
blank=False, null=False)
date_created = models.DateTimeField(
verbose_name=_("registration date"), auto_now_add=True, null=False
Supports Markdown
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