1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-25 07:07:33 +00:00
Altessimo/artists/migrations/0001_initial.py

31 lines
1.0 KiB
Python
Raw Normal View History

2020-12-16 14:26:15 +00:00
# Generated by Django 3.1.4 on 2020-12-16 14:26
2020-12-15 21:32:20 +00:00
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
2020-12-16 14:26:15 +00:00
('categories', '0001_initial'),
2020-12-15 21:32:20 +00:00
]
operations = [
migrations.CreateModel(
name='Artist',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
2020-12-16 14:26:15 +00:00
('name', models.CharField(blank=True, max_length=255)),
('romanized_name', models.CharField(blank=True, max_length=255)),
('about_composer', models.TextField(blank=True)),
('about_music', models.TextField(blank=True)),
2020-12-15 21:32:20 +00:00
('aliases', models.ManyToManyField(blank=True, related_name='_artist_aliases_+', to='artists.Artist')),
2020-12-16 14:26:15 +00:00
('category', models.ManyToManyField(blank=True, to='categories.Category')),
2020-12-15 21:32:20 +00:00
],
2020-12-16 14:26:15 +00:00
options={
'ordering': ['romanized_name', 'name'],
},
2020-12-15 21:32:20 +00:00
),
]