2015-03-17 19:03:51 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Partition',
|
|
|
|
fields=[
|
2016-07-14 01:58:52 +02:00
|
|
|
('id', models.AutoField(auto_created=True, serialize=False,
|
|
|
|
primary_key=True, verbose_name='ID')),
|
2015-03-17 19:03:51 +01:00
|
|
|
('nom', models.CharField(max_length=100)),
|
|
|
|
('part', models.FileField(upload_to='partitions/')),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
},
|
|
|
|
bases=(models.Model,),
|
|
|
|
),
|
|
|
|
]
|