mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
24 lines
832 B
Python
24 lines
832 B
Python
# Generated by Django 3.0.7 on 2021-02-04 04:37
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
import report.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('report', '0005_auto_20210119_0815'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='ReportSnippet',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('snippet', models.FileField(help_text='Report snippet file', upload_to=report.models.rename_snippet, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['html', 'htm'])])),
|
|
('description', models.CharField(help_text='Snippet file description', max_length=250)),
|
|
],
|
|
),
|
|
]
|