From: Jan Szejko Date: Tue, 25 Apr 2017 09:25:42 +0000 (+0200) Subject: remove organization tags X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/bc0f8e4eecbf058da20f119b5bb70d6c4690b562?ds=sidebyside remove organization tags --- 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