🚧 Started porting frontend to react

This commit is contained in:
nikolark committed 2019-12-31 03:44:04 +01:00
1 parent d73f55ab29
commit 2026da8ef2
54 files changed
+13794 -14351

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
from __future__ import unicode_literals
from django.contrib.auth.models import Group
from django.db import models
@@ -31,7 +30,7 @@ class Prefix(models.Model):
return self.name or ''
name = models.CharField(max_length=500, blank=True, null=True)
orgunit = models.ForeignKey('mailadmin.OrgUnit', related_name='prefixes')
orgunit = models.ForeignKey('mailadmin.OrgUnit', models.CASCADE, related_name='prefixes')
objects = PrefixQueryset.as_manager()