passerelle/passerelle/apps/csvdatasource/migrations/0019_csv_upload_to.py

25 lines
652 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import passerelle.apps.csvdatasource.models
class Migration(migrations.Migration):
dependencies = [
('csvdatasource', '0018_text_to_jsonb'),
]
operations = [
migrations.AlterField(
model_name='csvdatasource',
name='csv_file',
field=models.FileField(
help_text='Supported file formats: csv, ods, xls, xlsx',
upload_to=passerelle.apps.csvdatasource.models.upload_to,
verbose_name='Spreadsheet file',
),
),
]