Extend metadata

This commit is contained in:
2022-01-29 19:43:27 +01:00
parent 4d6c63a46c
commit 72dbc76e28
5 changed files with 106 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 4.0.1 on 2022-01-29 18:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('roster', '0015_remove_decoder_manufacturer_alter_cab_company_and_more'),
]
operations = [
migrations.AlterField(
model_name='cab',
name='image',
field=models.ImageField(blank=True, null=True, upload_to='images/'),
),
]

View File

@@ -32,7 +32,7 @@ class Cab(models.Model):
purchase_date = models.DateField(null=True, blank=True)
image = models.ImageField(
upload_to='media/images/',
upload_to='images/',
null=True,
blank=True)
notes = models.TextField(blank=True)