mirror of
https://github.com/DerTyp7/tealcode-django-python.git
synced 2025-10-30 20:57:07 +01:00
removed taggit
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Generated by Django 3.2.9 on 2021-11-10 07:58
|
||||
# Generated by Django 3.2.9 on 2021-11-22 18:23
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import django.utils.timezone
|
||||
|
||||
|
||||
@@ -16,8 +17,32 @@ class Migration(migrations.Migration):
|
||||
name='Category',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=100)),
|
||||
('title', models.CharField(max_length=100, unique=True)),
|
||||
('display_name', models.CharField(max_length=100)),
|
||||
('date_created', models.DateTimeField(default=django.utils.timezone.now)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Topic',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('code_text', models.TextField()),
|
||||
('output', models.TextField(blank=True)),
|
||||
('date_created', models.DateTimeField(default=django.utils.timezone.now)),
|
||||
('version', models.CharField(blank=True, max_length=100)),
|
||||
('read_more', models.TextField(blank=True)),
|
||||
('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.category')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Rating',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('is_positive', models.BooleanField()),
|
||||
('ip', models.CharField(max_length=90)),
|
||||
('date_created', models.DateTimeField(default=django.utils.timezone.now)),
|
||||
('topic', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.topic')),
|
||||
],
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user