Browse Source

Remove featured field

Colin Powell 3 năm trước cách đây
mục cha
commit
f24878423a

+ 24 - 0
games/migrations/0018_remove_game_featured_alter_game_tags.py

@@ -0,0 +1,24 @@
+# Generated by Django 4.0.4 on 2022-04-27 17:41
+
+from django.db import migrations
+import taggit.managers
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('taggit', '0004_alter_taggeditem_content_type_alter_taggeditem_tag'),
+        ('games', '0017_game_featured_on'),
+    ]
+
+    operations = [
+        migrations.RemoveField(
+            model_name='game',
+            name='featured',
+        ),
+        migrations.AlterField(
+            model_name='game',
+            name='tags',
+            field=taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
+        ),
+    ]