diff options
Diffstat (limited to 'app/photos/migrations')
22 files changed, 0 insertions, 595 deletions
diff --git a/app/photos/migrations/0001_initial.py b/app/photos/migrations/0001_initial.py deleted file mode 100644 index 711af1d..0000000 --- a/app/photos/migrations/0001_initial.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2015-12-11 19:33 -from __future__ import unicode_literals - -import django.contrib.gis.db.models.fields -from django.db import migrations, models -import django.db.models.deletion -import photos.models -import taggit.managers - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ('taggit', '0002_auto_20150616_2121'), - #('locations', '__first__'), - ] - - operations = [ - migrations.CreateModel( - name='LuxGallery', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('title', models.CharField(blank=True, max_length=300)), - ('description', models.TextField(blank=True, null=True)), - ('slug', models.CharField(blank=True, max_length=300)), - ('thumb', models.CharField(blank=True, max_length=300)), - ('pub_date', models.DateTimeField(null=True)), - ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)), - ('is_public', models.BooleanField(default=True)), - ], - options={ - 'verbose_name_plural': 'Galleries', - 'get_latest_by': 'pub_date', - 'ordering': ('-pub_date', 'id'), - }, - ), - migrations.CreateModel( - name='LuxImage', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('image', models.FileField(blank=True, null=True, upload_to=photos.models.get_upload_path)), - ('title', models.CharField(blank=True, max_length=300, null=True)), - ('caption', models.TextField(blank=True, null=True)), - ('pub_date', models.DateTimeField()), - ('exif_raw', models.TextField(blank=True, null=True)), - ('exif_aperture', models.CharField(blank=True, max_length=50, null=True)), - ('exif_make', models.CharField(blank=True, max_length=50, null=True)), - ('exif_model', models.CharField(blank=True, max_length=50, null=True)), - ('exif_exposure', models.CharField(blank=True, max_length=50, null=True)), - ('exif_iso', models.CharField(blank=True, max_length=50, null=True)), - ('exif_focal_length', models.CharField(blank=True, max_length=50, null=True)), - ('exif_lens', models.CharField(blank=True, max_length=50, null=True)), - ('exif_date', models.DateTimeField(blank=True, null=True)), - ('height', models.CharField(blank=True, max_length=6, null=True)), - ('width', models.CharField(blank=True, max_length=6, null=True)), - ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)), - ('is_public', models.BooleanField(default=True)), - ('is_video', models.BooleanField(default=False)), - ('flickr_id', models.CharField(blank=True, max_length=80, null=True)), - ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ], - options={ - 'verbose_name_plural': 'Images', - 'get_latest_by': 'pub_date', - 'ordering': ('-pub_date', 'id'), - }, - ), - migrations.CreateModel( - name='Photo', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('description', models.TextField(blank=True, null=True)), - ('title', models.CharField(blank=True, max_length=300)), - ('pub_date', models.DateTimeField()), - ('exif_aperture', models.CharField(blank=True, max_length=50, null=True)), - ('exif_make', models.CharField(blank=True, max_length=50, null=True)), - ('exif_model', models.CharField(blank=True, max_length=50, null=True)), - ('exif_exposure', models.CharField(blank=True, max_length=50, null=True)), - ('exif_iso', models.CharField(blank=True, max_length=50, null=True)), - ('exif_focal_length', models.CharField(blank=True, max_length=50, null=True)), - ('exif_lens', models.CharField(blank=True, max_length=50, null=True)), - ('exif_date', models.DateTimeField()), - ('flickr_id', models.CharField(max_length=300)), - ('flickr_owner', models.CharField(max_length=20)), - ('flickr_server', models.IntegerField()), - ('flickr_farm', models.IntegerField()), - ('flickr_secret', models.CharField(max_length=50)), - ('flickr_originalsecret', models.CharField(max_length=50)), - ('lon', models.FloatField(help_text='Longitude of centerpoint', null=True, verbose_name='Longitude')), - ('lat', models.FloatField(help_text='Latitude of centerpoint', null=True, verbose_name='Latitude')), - ('slideshowimage_width', models.CharField(blank=True, max_length=4, null=True)), - ('slideshowimage_height', models.CharField(blank=True, max_length=4, null=True)), - ('slideshowimage_margintop', models.CharField(blank=True, max_length=4, null=True)), - ('slideshowimage_marginleft', models.CharField(blank=True, max_length=4, null=True)), - ('is_public', models.BooleanField(default=True)), - ('location', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Region')), - ('tags', taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), - ], - options={ - 'ordering': ('-pub_date',), - }, - ), - migrations.CreateModel( - name='PhotoGallery', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('set_id', models.CharField(blank=True, max_length=300)), - ('set_title', models.CharField(blank=True, max_length=300)), - ('set_desc', models.TextField(blank=True, null=True)), - ('set_slug', models.CharField(blank=True, max_length=300)), - ('primary', models.CharField(blank=True, max_length=300)), - ('pub_date', models.DateTimeField(null=True)), - ('location', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ('photos', models.ManyToManyField(to='photos.Photo')), - ('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Region')), - ], - options={ - 'verbose_name_plural': 'Photo Galleries', - 'get_latest_by': 'pub_date', - 'ordering': ('-pub_date', 'id'), - }, - ), - migrations.AddField( - model_name='luxgallery', - name='image', - field=models.ManyToManyField(to='photos.LuxImage'), - ), - migrations.AddField( - model_name='luxgallery', - name='location', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location'), - ), - ] diff --git a/app/photos/migrations/0002_auto_20151216_1958.py b/app/photos/migrations/0002_auto_20151216_1958.py deleted file mode 100644 index 2a2bffb..0000000 --- a/app/photos/migrations/0002_auto_20151216_1958.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2015-12-16 19:58 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0001_initial'), - ] - - operations = [ - migrations.RenameField( - model_name='luxgallery', - old_name='image', - new_name='images', - ), - migrations.AlterField( - model_name='luxgallery', - name='thumb', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='gallery_thumb', to='photos.LuxImage'), - ), - ] diff --git a/app/photos/migrations/0003_luxgallery_caption_style.py b/app/photos/migrations/0003_luxgallery_caption_style.py deleted file mode 100644 index b46f970..0000000 --- a/app/photos/migrations/0003_luxgallery_caption_style.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2015-12-17 11:01 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0002_auto_20151216_1958'), - ] - - operations = [ - migrations.AddField( - model_name='luxgallery', - name='caption_style', - field=models.CharField(blank=True, max_length=400, null=True), - ), - ] diff --git a/app/photos/migrations/0004_luximage_alt.py b/app/photos/migrations/0004_luximage_alt.py deleted file mode 100644 index ecbaf56..0000000 --- a/app/photos/migrations/0004_luximage_alt.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-16 22:45 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0003_luxgallery_caption_style'), - ] - - operations = [ - migrations.AddField( - model_name='luximage', - name='alt', - field=models.CharField(blank=True, max_length=300, null=True), - ), - ] diff --git a/app/photos/migrations/0005_auto_20160318_1244.py b/app/photos/migrations/0005_auto_20160318_1244.py deleted file mode 100644 index 584714e..0000000 --- a/app/photos/migrations/0005_auto_20160318_1244.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-18 12:44 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0004_luximage_alt'), - ] - - operations = [ - migrations.AddField( - model_name='luximage', - name='photo_credit_source', - field=models.CharField(blank=True, max_length=300, null=True), - ), - migrations.AddField( - model_name='luximage', - name='photo_credit_url', - field=models.CharField(blank=True, max_length=300, null=True), - ), - ] diff --git a/app/photos/migrations/0006_auto_20160318_2047.py b/app/photos/migrations/0006_auto_20160318_2047.py deleted file mode 100644 index 7cf0a4f..0000000 --- a/app/photos/migrations/0006_auto_20160318_2047.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-18 20:47 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0005_auto_20160318_1244'), - ] - - operations = [ - migrations.CreateModel( - name='LuxImageSize', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('size', models.IntegerField(max_length=5)), - ], - options={ - 'verbose_name_plural': 'Image Sizes', - }, - ), - migrations.AddField( - model_name='luximage', - name='sizes', - field=models.ManyToManyField(to='photos.LuxImageSize'), - ), - ] diff --git a/app/photos/migrations/0007_auto_20160320_0802.py b/app/photos/migrations/0007_auto_20160320_0802.py deleted file mode 100644 index 474bd42..0000000 --- a/app/photos/migrations/0007_auto_20160320_0802.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-20 08:02 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0006_auto_20160318_2047'), - ] - - operations = [ - migrations.AlterField( - model_name='luximagesize', - name='size', - field=models.IntegerField(), - ), - ] diff --git a/app/photos/migrations/0008_luximagesize_quality.py b/app/photos/migrations/0008_luximagesize_quality.py deleted file mode 100644 index 06dc0cc..0000000 --- a/app/photos/migrations/0008_luximagesize_quality.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-20 08:47 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0007_auto_20160320_0802'), - ] - - operations = [ - migrations.AddField( - model_name='luximagesize', - name='quality', - field=models.IntegerField(default=65), - preserve_default=False, - ), - ] diff --git a/app/photos/migrations/0009_auto_20160320_0907.py b/app/photos/migrations/0009_auto_20160320_0907.py deleted file mode 100644 index ccfebf5..0000000 --- a/app/photos/migrations/0009_auto_20160320_0907.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-20 09:07 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0008_luximagesize_quality'), - ] - - operations = [ - migrations.RenameField( - model_name='luximagesize', - old_name='size', - new_name='width', - ), - ] diff --git a/app/photos/migrations/0010_auto_20160517_0906.py b/app/photos/migrations/0010_auto_20160517_0906.py deleted file mode 100644 index 0adf4ff..0000000 --- a/app/photos/migrations/0010_auto_20160517_0906.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-05-17 09:06 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0009_auto_20160320_0907'), - ] - - operations = [ - migrations.AddField( - model_name='luximage', - name='facebook_link', - field=models.CharField(blank=True, max_length=300, null=True), - ), - migrations.AddField( - model_name='luximage', - name='twitter_link', - field=models.CharField(blank=True, max_length=300, null=True), - ), - migrations.AlterField( - model_name='luximage', - name='sizes', - field=models.ManyToManyField(blank=True, to='photos.LuxImageSize'), - ), - ] diff --git a/app/photos/migrations/0011_luximagesize_name.py b/app/photos/migrations/0011_luximagesize_name.py deleted file mode 100644 index 49d046b..0000000 --- a/app/photos/migrations/0011_luximagesize_name.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-21 08:46 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0010_auto_20160517_0906'), - ] - - operations = [ - migrations.AddField( - model_name='luximagesize', - name='name', - field=models.CharField(blank=True, max_length=30, null=True), - ), - ] diff --git a/app/photos/migrations/0012_luximagesize_is_portrait.py b/app/photos/migrations/0012_luximagesize_is_portrait.py deleted file mode 100644 index a2c2e3a..0000000 --- a/app/photos/migrations/0012_luximagesize_is_portrait.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-22 13:46 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0011_luximagesize_name'), - ] - - operations = [ - migrations.AddField( - model_name='luximagesize', - name='is_portrait', - field=models.BooleanField(default=False), - ), - ] diff --git a/app/photos/migrations/0013_auto_20161022_1348.py b/app/photos/migrations/0013_auto_20161022_1348.py deleted file mode 100644 index 8dfbf98..0000000 --- a/app/photos/migrations/0013_auto_20161022_1348.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-22 13:48 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0012_luximagesize_is_portrait'), - ] - - operations = [ - migrations.RenameField( - model_name='luximagesize', - old_name='width', - new_name='long_edge', - ), - ] diff --git a/app/photos/migrations/0014_remove_luximagesize_is_portrait.py b/app/photos/migrations/0014_remove_luximagesize_is_portrait.py deleted file mode 100644 index b8e0aa8..0000000 --- a/app/photos/migrations/0014_remove_luximagesize_is_portrait.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-22 14:11 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0013_auto_20161022_1348'), - ] - - operations = [ - migrations.RemoveField( - model_name='luximagesize', - name='is_portrait', - ), - ] diff --git a/app/photos/migrations/0015_auto_20161022_1411.py b/app/photos/migrations/0015_auto_20161022_1411.py deleted file mode 100644 index d380b52..0000000 --- a/app/photos/migrations/0015_auto_20161022_1411.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-22 14:11 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0014_remove_luximagesize_is_portrait'), - ] - - operations = [ - migrations.RenameField( - model_name='luximagesize', - old_name='long_edge', - new_name='width', - ), - ] diff --git a/app/photos/migrations/0016_auto_20161022_1411.py b/app/photos/migrations/0016_auto_20161022_1411.py deleted file mode 100644 index 54b84d7..0000000 --- a/app/photos/migrations/0016_auto_20161022_1411.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-22 14:11 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0015_auto_20161022_1411'), - ] - - operations = [ - migrations.AddField( - model_name='luximagesize', - name='height', - field=models.IntegerField(blank=True, null=True), - ), - migrations.AlterField( - model_name='luximagesize', - name='width', - field=models.IntegerField(blank=True, null=True), - ), - ] diff --git a/app/photos/migrations/0017_auto_20161130_1218.py b/app/photos/migrations/0017_auto_20161130_1218.py deleted file mode 100644 index 8d5a496..0000000 --- a/app/photos/migrations/0017_auto_20161130_1218.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-11-30 12:18 -from __future__ import unicode_literals - -import datetime -from django.db import migrations, models -import photos.models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0016_auto_20161022_1411'), - ] - - operations = [ - migrations.CreateModel( - name='LuxVideo', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('video_mp4', models.FileField(blank=True, null=True, upload_to=photos.models.get_vid_upload_path)), - ('video_webm', models.FileField(blank=True, null=True, upload_to=photos.models.get_vid_upload_path)), - ('video_poster', models.FileField(blank=True, null=True, upload_to=photos.models.get_vid_upload_path)), - ('title', models.CharField(blank=True, max_length=300, null=True)), - ('pub_date', models.DateTimeField(default=datetime.datetime.now)), - ], - options={ - 'verbose_name_plural': 'Videos', - 'ordering': ('-pub_date', 'id'), - 'get_latest_by': 'pub_date', - }, - ), - migrations.AlterField( - model_name='luximage', - name='pub_date', - field=models.DateTimeField(default=datetime.datetime.now), - ), - ] diff --git a/app/photos/migrations/0018_auto_20161130_1218.py b/app/photos/migrations/0018_auto_20161130_1218.py deleted file mode 100644 index 784175a..0000000 --- a/app/photos/migrations/0018_auto_20161130_1218.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-11-30 12:18 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0017_auto_20161130_1218'), - ] - - operations = [ - migrations.RemoveField( - model_name='luximage', - name='is_video', - ), - migrations.AddField( - model_name='luxvideo', - name='vimeo_url', - field=models.CharField(blank=True, max_length=300, null=True), - ), - migrations.AddField( - model_name='luxvideo', - name='youtube_url', - field=models.CharField(blank=True, max_length=80, null=True), - ), - ] diff --git a/app/photos/migrations/0019_auto_20190704_0903.py b/app/photos/migrations/0019_auto_20190704_0903.py deleted file mode 100644 index 833ee69..0000000 --- a/app/photos/migrations/0019_auto_20190704_0903.py +++ /dev/null @@ -1,17 +0,0 @@ -# Generated by Django 2.1.7 on 2019-07-04 09:03 - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0018_auto_20161130_1218'), - ] - - operations = [ - migrations.AlterModelOptions( - name='luximagesize', - options={'ordering': ('-name', 'id'), 'verbose_name_plural': 'Image Sizes'}, - ), - ] diff --git a/app/photos/migrations/0020_auto_20201201_2116.py b/app/photos/migrations/0020_auto_20201201_2116.py deleted file mode 100644 index 39d4fd9..0000000 --- a/app/photos/migrations/0020_auto_20201201_2116.py +++ /dev/null @@ -1,20 +0,0 @@ -# Generated by Django 3.1 on 2020-12-01 21:16 - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('locations', '0028_auto_20200308_1152'), - ('photos', '0019_auto_20190704_0903'), - ] - - operations = [ - migrations.AlterField( - model_name='luximage', - name='location', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='locations.location'), - ), - ] diff --git a/app/photos/migrations/0021_auto_20201201_2118.py b/app/photos/migrations/0021_auto_20201201_2118.py deleted file mode 100644 index 25e4f8f..0000000 --- a/app/photos/migrations/0021_auto_20201201_2118.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 3.1 on 2020-12-01 21:18 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0020_auto_20201201_2116'), - ] - - operations = [ - migrations.AlterField( - model_name='luximage', - name='sizes', - field=models.ManyToManyField(blank=True, related_name='_luximage_sizes_+', to='photos.LuxImageSize'), - ), - ] diff --git a/app/photos/migrations/__init__.py b/app/photos/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/photos/migrations/__init__.py +++ /dev/null |