newmediamonitoring/static/django-summernote-0.8.11.4/django_summernote/migrations/0001_initial.py

28 lines
814 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django_summernote.utils import uploaded_filepath
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Attachment',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=255, null=True, blank=True)),
('file', models.FileField(upload_to=uploaded_filepath)),
('uploaded', models.DateTimeField(auto_now_add=True)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
]