Commit 0dc62a24 authored by Mindiell's avatar Mindiell

Since Group Types are linked to Organization, Groups don't need it.

parent 8c53eed8
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('organization', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='group',
name='organization',
),
]
......@@ -26,7 +26,7 @@ class GroupType(models.Model):
class Group(models.Model):
"""Group model to qualify contacts"""
id = models.AutoField(primary_key=True)
organization = models.ForeignKey(Organization)
#organization = models.ForeignKey(Organization)
name = models.CharField(max_length=64)
type = models.ForeignKey(GroupType, blank=True, null=True)
media = models.CharField(max_length=255, blank=True)
......
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