summaryrefslogtreecommitdiff
path: root/app/photos/migrations/0006_auto_20160318_2047.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-03-20 21:30:28 -0400
committerluxagraf <sng@luxagraf.net>2016-03-20 21:30:28 -0400
commit96d80eaf238045faba45cd4b64a8d93d19a98a69 (patch)
treea12bb2c4fe7573946942c425a2d15044f7e20e4c /app/photos/migrations/0006_auto_20160318_2047.py
parent86bb919d5e87b33f93c2d09c6fe36eb2f393b7e6 (diff)
Wrote image app to work with other models. Broke galleries badly, need
to fix before posting again. Also major admin image move to pull off.
Diffstat (limited to 'app/photos/migrations/0006_auto_20160318_2047.py')
-rw-r--r--app/photos/migrations/0006_auto_20160318_2047.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/photos/migrations/0006_auto_20160318_2047.py b/app/photos/migrations/0006_auto_20160318_2047.py
new file mode 100644
index 0000000..7cf0a4f
--- /dev/null
+++ b/app/photos/migrations/0006_auto_20160318_2047.py
@@ -0,0 +1,30 @@
+# -*- 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'),
+ ),
+ ]