aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/migrations
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-08-13 06:08:22 +0200
committerGravatar Hassan Abouelela <[email protected]>2022-08-13 06:08:22 +0200
commitd50028d6b92909a39139007f0f3bcd7c90a88420 (patch)
tree6e4547b999be8797e71c087a7c795af271fc64ac /pydis_site/apps/content/migrations
parentAdd Setting For Static Builds (diff)
Add Tags To Content Listings
Adds bot tags to the content page, as well as a model to go along with it. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pydis_site/apps/content/migrations')
-rw-r--r--pydis_site/apps/content/migrations/0001_initial.py23
-rw-r--r--pydis_site/apps/content/migrations/__init__.py0
2 files changed, 23 insertions, 0 deletions
diff --git a/pydis_site/apps/content/migrations/0001_initial.py b/pydis_site/apps/content/migrations/0001_initial.py
new file mode 100644
index 00000000..15e3fc95
--- /dev/null
+++ b/pydis_site/apps/content/migrations/0001_initial.py
@@ -0,0 +1,23 @@
+# Generated by Django 4.0.6 on 2022-08-13 00:53
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Tag',
+ fields=[
+ ('last_updated', models.DateTimeField(auto_now=True, help_text='The date and time this data was last fetched.')),
+ ('name', models.CharField(help_text="The tag's name.", max_length=50, primary_key=True, serialize=False)),
+ ('body', models.TextField(help_text='The content of the tag.')),
+ ('url', models.URLField(help_text='The URL to this tag on GitHub.')),
+ ],
+ ),
+ ]
diff --git a/pydis_site/apps/content/migrations/__init__.py b/pydis_site/apps/content/migrations/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/pydis_site/apps/content/migrations/__init__.py