diff options
Diffstat (limited to 'project/migrations/0001_initial.py')
-rw-r--r-- | project/migrations/0001_initial.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/project/migrations/0001_initial.py b/project/migrations/0001_initial.py deleted file mode 100644 index 38ae541..0000000 --- a/project/migrations/0001_initial.py +++ /dev/null @@ -1,31 +0,0 @@ -# Generated by Django 2.1.2 on 2018-10-04 02:27 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ] - - operations = [ - migrations.CreateModel( - name='Project', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('title', models.CharField(max_length=200, verbose_name='Titulo')), - ('decription', models.TextField(verbose_name='Descripción')), - ('image', models.ImageField(upload_to='projects/uploads/%Y/%m/%d/', verbose_name='Imagen')), - ('link', models.URLField(blank=True, null=True, verbose_name='Sitio web')), - ('created', models.DateTimeField(auto_now_add=True, verbose_name='Fecha de creación')), - ('updated', models.DateTimeField(auto_now=True, verbose_name='Fecha de modificación')), - ], - options={ - 'verbose_name': 'proyecto', - 'verbose_name_plural': 'proyectos', - 'ordering': ['-created'], - }, - ), - ] |