mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 15:12:25 +00:00
30 lines
959 B
Python
30 lines
959 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.10.7 on 2019-01-03 16:48
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import re2o.mixins
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('cotisations', '0038_auto_20181231_1657'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='DocumentTemplate',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('template', models.FileField(upload_to='templates/', verbose_name='template')),
|
||
|
('name', models.CharField(max_length=255, verbose_name='name')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name_plural': 'document templates',
|
||
|
'verbose_name': 'document template',
|
||
|
},
|
||
|
bases=(re2o.mixins.RevMixin, re2o.mixins.AclMixin, models.Model),
|
||
|
),
|
||
|
]
|