remove organization tags
authorJan Szejko <janek37@gmail.com>
Tue, 25 Apr 2017 09:25:42 +0000 (11:25 +0200)
committerJan Szejko <janek37@gmail.com>
Tue, 25 Apr 2017 09:25:42 +0000 (11:25 +0200)
apps/organizations/migrations/0011_remove_organization_tags.py [new file with mode: 0644]
apps/organizations/models.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 (file)
index 0000000..5422cb5
--- /dev/null
@@ -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',
+        ),
+    ]
index 0919f76..0c4dfa7 100644 (file)
@@ -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