From bc0f8e4eecbf058da20f119b5bb70d6c4690b562 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 25 Apr 2017 11:25:42 +0200 Subject: [PATCH] remove organization tags --- .../0011_remove_organization_tags.py | 19 +++++++++++++++++++ apps/organizations/models.py | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 apps/organizations/migrations/0011_remove_organization_tags.py diff --git a/apps/organizations/migrations/0011_remove_organization_tags.py b/apps/organizations/migrations/0011_remove_organization_tags.py new file mode 100644 index 00000000..5422cb5a --- /dev/null +++ b/apps/organizations/migrations/0011_remove_organization_tags.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.6 on 2017-04-25 11:24 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('organizations', '0010_auto_20170216_1508'), + ] + + operations = [ + migrations.RemoveField( + model_name='organization', + name='tags', + ), + ] diff --git a/apps/organizations/models.py b/apps/organizations/models.py index 0919f761..0c4dfa7a 100644 --- a/apps/organizations/models.py +++ b/apps/organizations/models.py @@ -75,7 +75,6 @@ class UserCard(Card): @python_2_unicode_compatible class Organization(Card): name = models.CharField(max_length=1024) - tags = models.ManyToManyField('catalogue.Tag', blank=True) def __str__(self): return self.name -- 2.20.1