mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add more manufacturers categories
This commit is contained in:
26
ram/metadata/migrations/0010_alter_manufacturer_category.py
Normal file
26
ram/metadata/migrations/0010_alter_manufacturer_category.py
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Generated by Django 4.1.5 on 2023-01-06 00:52
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("metadata", "0009_alter_company_logo_alter_decoder_image_and_more"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="manufacturer",
|
||||||
|
name="category",
|
||||||
|
field=models.CharField(
|
||||||
|
choices=[
|
||||||
|
("model", "Model"),
|
||||||
|
("real", "Real"),
|
||||||
|
("accessory", "Accessory"),
|
||||||
|
("other", "Other"),
|
||||||
|
],
|
||||||
|
max_length=64,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
@@ -156,7 +156,12 @@ DECODER_INTERFACES = [
|
|||||||
(5, "Next18/Next18S"),
|
(5, "Next18/Next18S"),
|
||||||
]
|
]
|
||||||
|
|
||||||
MANUFACTURER_TYPES = [("model", "Model"), ("real", "Real")]
|
MANUFACTURER_TYPES = [
|
||||||
|
("model", "Model"),
|
||||||
|
("real", "Real"),
|
||||||
|
("accessory", "Accessory"),
|
||||||
|
("other", "Other")
|
||||||
|
]
|
||||||
|
|
||||||
ROLLING_STOCK_TYPES = [
|
ROLLING_STOCK_TYPES = [
|
||||||
("engine", "Engine"),
|
("engine", "Engine"),
|
||||||
|
Reference in New Issue
Block a user