-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9d8a5d
commit 7b1f6e3
Showing
3 changed files
with
111 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
vehicles/migrations/0011_historicallivery_show_name_livery_show_name_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Generated by Django 5.1.5 on 2025-01-19 03:57 | ||
|
||
import vehicles.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('vehicles', '0010_remove_historicallivery_css_remove_livery_css_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='historicallivery', | ||
name='show_name', | ||
field=models.BooleanField(default=True), | ||
), | ||
migrations.AddField( | ||
model_name='livery', | ||
name='show_name', | ||
field=models.BooleanField(default=True), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='colour', | ||
field=vehicles.fields.ColourField(help_text='For the most simplified version of the livery'), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='colours', | ||
field=vehicles.fields.ColoursField(blank=True, help_text='Left and right CSS will be generated from this', max_length=512), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='left_css', | ||
field=vehicles.fields.CSSField(blank=True, help_text='Automatically generated from colours and angle', max_length=1024, verbose_name='Left CSS'), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='right_css', | ||
field=vehicles.fields.CSSField(blank=True, help_text='Should be a mirror image of the left CSS', max_length=1024, verbose_name='Right CSS'), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='stroke_colour', | ||
field=vehicles.fields.ColourField(blank=True, help_text='Use sparingly, often looks shit'), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='text_colour', | ||
field=vehicles.fields.ColourField(blank=True), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='colour', | ||
field=vehicles.fields.ColourField(help_text='For the most simplified version of the livery'), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='colours', | ||
field=vehicles.fields.ColoursField(blank=True, help_text='Left and right CSS will be generated from this', max_length=512), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='left_css', | ||
field=vehicles.fields.CSSField(blank=True, help_text='Automatically generated from colours and angle', max_length=1024, verbose_name='Left CSS'), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='right_css', | ||
field=vehicles.fields.CSSField(blank=True, help_text='Should be a mirror image of the left CSS', max_length=1024, verbose_name='Right CSS'), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='stroke_colour', | ||
field=vehicles.fields.ColourField(blank=True, help_text='Use sparingly, often looks shit'), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='text_colour', | ||
field=vehicles.fields.ColourField(blank=True), | ||
), | ||
migrations.AlterField( | ||
model_name='vehicle', | ||
name='colours', | ||
field=vehicles.fields.ColoursField(blank=True, max_length=255), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters