class Migration(migrations.Migration): dependencies = [ ('ChalitaCrinigan', '0001_initial'), ] operations = [ migrations.AlterField( model_name='propiedad', name='imagen1', field=thumbs.ImageWithThumbsField(default=b'../static/images/5.jpg', upload_to=b'chalita'), ), ]
class Migration(migrations.Migration): dependencies = [ ('ChalitaCrinigan', '0004_auto_20151219_2346'), ] operations = [ migrations.AlterField( model_name='propiedad', name='imagen1', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita'), ), ]
class Migration(migrations.Migration): dependencies = [ ('ChalitaCrinigan', '0015_auto_20160104_1842'), ] operations = [ migrations.AlterField( model_name='propiedad', name='imagen1', field=thumbs.ImageWithThumbsField( default=b'/chalita/defecto/images.jpeg', null=True, upload_to=b'chalita', blank=True), ), ]
class Image(models.Model): slug = models.SlugField(max_length=50, primary_key=True) name = models.CharField(max_length=50) image = thumbs.ImageWithThumbsField( upload_to='smh_gallery', sizes=((370, 229, thumbs.generate_thumb_max_rectangle), )) description = models.TextField(blank=True) date = models.DateField(blank=True) gallery = models.ForeignKey(Gallery) class Meta: ordering = ['name'] def __unicode__(self): return (self.name) def save(self, *args, **kwargs): self.slug = slugify(self.name) super(Image, self).save(*args, **kwargs)
class Migration(migrations.Migration): dependencies = [ ('ChalitaCrinigan', '0014_auto_20160102_1832'), ] operations = [ migrations.AlterField( model_name='propiedad', name='banios', field=models.CharField(max_length=50), ), migrations.AlterField( model_name='propiedad', name='imagen1', field=thumbs.ImageWithThumbsField( default=b'../chalita/defecto/images.jpeg', null=True, upload_to=b'chalita', blank=True), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('contenttypes', '0002_remove_content_type_name'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Aportes', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('fecha', models.DateField(auto_now_add=True)), ('contenido', ckeditor_uploader.fields.RichTextUploadingField()), ], options={ 'verbose_name_plural': 'Aportes', }, ), migrations.CreateModel( name='Audios', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('object_id', models.IntegerField(db_index=True)), ('nombre_audio', models.CharField(blank=True, max_length=200, null=True)), ('audio', models.FileField(blank=True, null=True, upload_to=utils.get_file_path)), ('tags_aud', tagging.fields.TagField( blank=True, help_text='Separar elementos con "," ', max_length=255)), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), ], options={ 'verbose_name_plural': 'Audios', }, ), migrations.CreateModel( name='Comentarios', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('fecha', models.DateField(auto_now_add=True)), ('comentario', ckeditor_uploader.fields.RichTextUploadingField()), ('aporte', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='foros.Aportes')), ('usuario', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name_plural': 'Comentarios', }, ), migrations.CreateModel( name='Documentos', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('object_id', models.IntegerField(db_index=True)), ('nombre_doc', models.CharField(blank=True, max_length=200, null=True, verbose_name='Nombre')), ('adjunto', models.FileField(blank=True, null=True, upload_to=utils.get_file_path, verbose_name='Adjunto')), ('tags_doc', tagging.fields.TagField( blank=True, help_text='Separar elementos con "," ', max_length=255, verbose_name='Tags')), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), ], options={ 'verbose_name_plural': 'Documentos', }, ), migrations.CreateModel( name='Foros', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=200)), ('creacion', models.DateField(auto_now_add=True)), ('apertura', models.DateField( verbose_name='Apertura y recepci\xf3n de aportes')), ('cierre', models.DateField(verbose_name='Cierre de aportes')), ('fecha_skype', models.DateField( verbose_name='Propuesta de reuni\xf3n skype')), ('memoria', models.DateField( verbose_name='Propuesta entrega de memoria')), ('contenido', ckeditor_uploader.fields.RichTextUploadingField()), ('contraparte', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'ordering': ['-creacion'], 'verbose_name_plural': 'Foros', }, ), migrations.CreateModel( name='Imagen', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('object_id', models.IntegerField(db_index=True)), ('nombre_img', models.CharField(blank=True, max_length=200, null=True, verbose_name='Nombre')), ('foto', thumbs.ImageWithThumbsField(blank=True, null=True, upload_to=utils.get_file_path)), ('tags_img', tagging.fields.TagField( blank=True, help_text='Separar elementos con "," ', max_length=255, verbose_name='Tags')), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), ], options={ 'verbose_name_plural': 'Im\xe1genes', }, ), migrations.CreateModel( name='Videos', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('object_id', models.IntegerField(db_index=True)), ('nombre_video', models.CharField(blank=True, max_length=200, null=True)), ('url', embed_video.fields.EmbedVideoField(blank=True, null=True)), ('tags_vid', tagging.fields.TagField( blank=True, help_text='Separar elementos con "," ', max_length=255)), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), ], options={ 'verbose_name_plural': 'Videos', }, ), migrations.AddField( model_name='aportes', name='foro', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='foros.Foros'), ), migrations.AddField( model_name='aportes', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Contraparte', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=200)), ('siglas', models.CharField( blank=True, help_text='Siglas o nombre corto de la oganizaci\xf3n', max_length=200, null=True, verbose_name='Siglas o nombre corto')), ('logo', thumbs.ImageWithThumbsField(blank=True, null=True, upload_to=utils.get_file_path)), ('fundacion', models.CharField(blank=True, max_length=200, null=True, verbose_name='A\xf1o de fundaci\xf3n')), ('temas', ckeditor_uploader.fields.RichTextUploadingField(blank=True, null=True)), ('generalidades', ckeditor_uploader.fields.RichTextUploadingField(blank=True, null=True)), ('contacto', models.CharField(blank=True, max_length=200, null=True)), ('telefono', models.CharField(blank=True, max_length=200, null=True)), ('sitio_web', models.URLField(blank=True, null=True)), ('rss', models.CharField(blank=True, max_length=200, null=True)), ('font_color', contrapartes.models.ColorField(blank=True, max_length=10, unique=True)), ], options={ 'verbose_name_plural': 'Contrapartes', }, ), migrations.CreateModel( name='Mensajero', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('fecha', models.DateField(auto_now_add=True)), ('mensaje', ckeditor_uploader.fields.RichTextUploadingField()), ('usuario', models.CharField(blank=True, max_length=200, null=True)), ('user', models.ManyToManyField(to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Pais', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=200)), ('latitud', models.FloatField(blank=True, null=True)), ('longitud', models.FloatField(blank=True, null=True)), ('codigo', models.CharField( help_text= 'C\xf3digo de 2 letras del pa\xeds, ejemplo : Nicaragua (ni)', max_length=2)), ], options={ 'verbose_name_plural': 'Pa\xedses', }, ), migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('avatar', thumbs.ImageWithThumbsField(blank=True, null=True, upload_to=utils.get_file_path)), ('contraparte', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contrapartes.Contraparte')), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.AddField( model_name='contraparte', name='pais', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='contrapartes.Pais'), ), migrations.AlterUniqueTogether( name='contraparte', unique_together=set([('font_color', 'nombre')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('ChalitaCrinigan', '0002_auto_20151218_2209'), ] operations = [ migrations.AlterField( model_name='propiedad', name='imagen10', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen11', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen12', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen13', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen14', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen15', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen16', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen17', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen18', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen19', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen2', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen20', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen21', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen22', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen23', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen24', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen25', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen3', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen4', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen5', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen6', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen7', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen8', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), migrations.AlterField( model_name='propiedad', name='imagen9', field=thumbs.ImageWithThumbsField( default=b'../static/images/5.jpg', upload_to=b'chalita'), ), ]
class Migration(migrations.Migration): dependencies = [] operations = [ migrations.CreateModel( name='Localidad', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('nombre', models.CharField(max_length=20)), ], ), migrations.CreateModel( name='Propiedad', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('nombre', models.CharField(max_length=20)), ('descripcion', models.TextField()), ('codigo', models.IntegerField(max_length=20)), ('precio', models.IntegerField(max_length=15)), ('superficieTotal', models.IntegerField(max_length=10)), ('habitaciones', models.IntegerField(max_length=2)), ('banios', models.IntegerField(max_length=2)), ('cocheras', models.IntegerField(max_length=2)), ('geolocalizacion', models.TextField()), ('disponible', models.BooleanField()), ('estado', models.CharField(max_length=20)), ('imagen1', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen2', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen3', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen4', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen5', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen6', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen7', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen8', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen9', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen10', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen11', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen12', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen13', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen14', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen15', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen16', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen17', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen18', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen19', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen20', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen21', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen22', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen23', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen24', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('imagen25', thumbs.ImageWithThumbsField(upload_to=b'chalita')), ('localidad', models.ForeignKey(to='ChalitaCrinigan.Localidad')), ], ), migrations.CreateModel( name='TipoOperacion', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('nombre', models.CharField(max_length=20)), ], ), migrations.CreateModel( name='TipoPropiedad', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('nombre', models.CharField(max_length=20)), ], ), migrations.AddField( model_name='propiedad', name='tipoOperacion', field=models.ForeignKey(to='ChalitaCrinigan.TipoOperacion'), ), migrations.AddField( model_name='propiedad', name='tipoPropiedad', field=models.ForeignKey(to='ChalitaCrinigan.TipoPropiedad'), ), ]
class Migration(migrations.Migration): dependencies = [ ('ChalitaCrinigan', '0005_auto_20151219_2348'), ] operations = [ migrations.AlterField( model_name='propiedad', name='imagen1', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen10', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen11', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen12', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen13', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen14', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen15', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen16', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen17', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen18', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen19', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen2', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen20', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen21', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen22', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen23', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen24', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen25', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen3', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen4', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen5', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen6', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen7', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen8', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), migrations.AlterField( model_name='propiedad', name='imagen9', field=thumbs.ImageWithThumbsField(null=True, upload_to=b'chalita', blank=True), ), ]