🚧 Started porting frontend to react
This commit is contained in:
1 parent
d73f55ab29
commit
2026da8ef2
54 files changed
+13794
-14351
No files matched your search
+1
-2
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user