-
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.
livery: remove confusing 'css' field, simplify
- Loading branch information
1 parent
29911f7
commit 769cafe
Showing
3 changed files
with
49 additions
and
33 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
vehicles/migrations/0010_remove_historicallivery_css_remove_livery_css_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,46 @@ | ||
# Generated by Django 5.1.4 on 2024-12-23 03:01 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('vehicles', '0009_remove_vehiclerevision_unique_pending_operator_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='historicallivery', | ||
name='css', | ||
), | ||
migrations.RemoveField( | ||
model_name='livery', | ||
name='css', | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='colours', | ||
field=models.CharField(blank=True, help_text='Left and right CSS will be generated from this', max_length=512), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallivery', | ||
name='right_css', | ||
field=models.CharField(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='colours', | ||
field=models.CharField(blank=True, help_text='Left and right CSS will be generated from this', max_length=512), | ||
), | ||
migrations.AlterField( | ||
model_name='livery', | ||
name='right_css', | ||
field=models.CharField(blank=True, help_text='Should be a mirror image of the left CSS', max_length=1024, verbose_name='Right CSS'), | ||
), | ||
migrations.AlterField( | ||
model_name='vehicletype', | ||
name='style', | ||
field=models.CharField(blank=True, choices=[('double decker', 'double decker'), ('minibus', 'minibus'), ('coach', 'coach'), ('articulated', 'articulated'), ('train', 'train'), ('tram', 'tram'), ('amphibious', 'amphibious')], max_length=13), | ||
), | ||
] |
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
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