Last active
November 14, 2019 02:20
-
-
Save ivan-vilches/9fec165f695eb78a2b69f2255e4d7674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Django 2.2.6 on 2019-11-14 00:33 | |
import datetime | |
from django.db import migrations, models | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('blog', '0001_initial'), | |
] | |
operations = [ | |
migrations.AddField( | |
model_name='blog', | |
name='fecha_publicacion', | |
field=models.DateTimeField(blank=True, default=datetime.date.today, null=True, verbose_name='Fecha de Publicación'), | |
), | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Django 2.2.6 on 2019-11-14 00:58 | |
import datetime | |
from django.db import migrations, models | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('blog', '0002_blog_fecha_publicacion'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='blog', | |
name='fecha_publicacion', | |
field=models.DateTimeField(default=datetime.date.today, verbose_name='Fecha de Publicación'), | |
), | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Django 2.2.6 on 2019-11-14 01:30 | |
from django.db import migrations, models | |
import django.utils.timezone | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('blog', '0003_auto_20191113_2158'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='blog', | |
name='fecha_publicacion', | |
field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='Fecha de Publicación'), | |
), | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Django 2.2.6 on 2019-10-19 23:43 | |
from django.db import migrations, models | |
import django.db.models.deletion | |
import wagtail.core.fields | |
class Migration(migrations.Migration): | |
initial = True | |
dependencies = [ | |
('wagtailimages', '0001_squashed_0021'), | |
('wagtailcore', '0041_group_collection_permissions_verbose_name_plural'), | |
] | |
operations = [ | |
migrations.CreateModel( | |
name='BlogIndexPage', | |
fields=[ | |
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')), | |
('descripcion', models.CharField(blank=True, max_length=150, null=True, verbose_name='Descripción para el Seo')), | |
], | |
options={ | |
'verbose_name': 'Blog Index', | |
}, | |
bases=('wagtailcore.page',), | |
), | |
migrations.CreateModel( | |
name='Blog', | |
fields=[ | |
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')), | |
('contenido', wagtail.core.fields.RichTextField(blank=True, default='\n <p><b>OBJETIVOS:</b></p>\n <p>\n Elaborar moldes de yeso de cerámicas originarias con la finalidad de\n producir una cantidad de piezas en poco tiempo y acercarse a una producción\n artesanal a futuro.\n </p>\n <p>\n Elaborar moldes de yeso de cerámicas originarias con la finalidad de\n producir una cantidad de piezas en poco tiempo y acercarse a una producción\n artesanal a futuro.\n </p>\n <p><b>CONTENIDOS y METODOLOGÍA:</b></p>\n <ol>\n <li>\n Iniciación breve presentación de la instructora e introducción de de la\n materia a tratar.\n </li>\n <li>Entrega de materiales.</li>\n <li>\n Información sobre las matrices, forma ,función y formación de equipos\n </li>\n <li>Aplicación de los materiales., yeso, micas, aislantes, etc.</li>\n <li>Fabricación de moldes de i pieza a partir de una cama de arcilla.</li>\n <li>Fabricación de moldes de dos piezas.</li>\n </ol>\n <p><b>DURACIÓN:</b> 2 horas.</p>\n <p><b>CUPOS:</b> Máximo 10 alumnos</p>\n <p><b>JORNADA:</b> viernes en la mañana de 10:00 a 12:00 horas.</p>\n ', help_text=' este es el help text', null=True, verbose_name='Contenido del Blog')), | |
('imagen_blog', models.ForeignKey(blank=True, help_text='Imagen principal para mostrar en la pagina de lista de post chanchita', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image', verbose_name='Imagen de Portada Chanchita')), | |
], | |
options={ | |
'verbose_name': 'Artículo', | |
'verbose_name_plural': 'Artículos', | |
}, | |
bases=('wagtailcore.page',), | |
), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment