mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-05 05:37:50 +02:00
Extend metadata
This commit is contained in:
18
dcc/roster/migrations/0016_alter_cab_image.py
Normal file
18
dcc/roster/migrations/0016_alter_cab_image.py
Normal 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/'),
|
||||
),
|
||||
]
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user