summaryrefslogtreecommitdiff
path: root/app/unused_apps/src/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/unused_apps/src/migrations')
-rw-r--r--app/unused_apps/src/migrations/0001_initial.py76
-rw-r--r--app/unused_apps/src/migrations/0002_auto_20160329_2107.py19
-rw-r--r--app/unused_apps/src/migrations/0003_auto_20180707_0958.py17
-rw-r--r--app/unused_apps/src/migrations/0004_auto_20191007_0905.py17
-rw-r--r--app/unused_apps/src/migrations/__init__.py0
5 files changed, 0 insertions, 129 deletions
diff --git a/app/unused_apps/src/migrations/0001_initial.py b/app/unused_apps/src/migrations/0001_initial.py
deleted file mode 100644
index 1f672ee..0000000
--- a/app/unused_apps/src/migrations/0001_initial.py
+++ /dev/null
@@ -1,76 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.9 on 2016-03-29 21:06
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import src.models
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='Book',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('title', models.CharField(max_length=200)),
- ('image', models.FileField(blank=True, null=True, upload_to=src.models.get_upload_path)),
- ('slug', models.SlugField(unique_for_date='pub_date')),
- ('body_html', models.TextField(blank=True)),
- ('body_markdown', models.TextField()),
- ('pub_date', models.DateTimeField(verbose_name='Date published')),
- ('last_updated', models.DateTimeField(auto_now=True)),
- ('status', models.IntegerField(choices=[(0, 'Draft'), (1, 'Published')], default=0)),
- ('price', models.FloatField()),
- ('price_sale', models.FloatField()),
- ('meta_description', models.CharField(blank=True, max_length=256, null=True)),
- ('pages', models.DecimalField(blank=True, decimal_places=0, max_digits=3, null=True)),
- ('template_name', models.CharField(choices=[('details/src_book.html', 'Default'), ('details/src_book_2.html', 'Book Two')], default='details/src_book.html', max_length=200)),
- ],
- options={
- 'get_latest_by': 'pub_date',
- 'ordering': ('-pub_date',),
- },
- ),
- migrations.CreateModel(
- name='Entry',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('title', models.CharField(max_length=200)),
- ('slug', models.SlugField(unique_for_date='pub_date')),
- ('body_html', models.TextField(blank=True)),
- ('body_markdown', models.TextField()),
- ('pub_date', models.DateTimeField(verbose_name='Date published')),
- ('last_updated', models.DateTimeField(auto_now=True)),
- ('enable_comments', models.BooleanField(default=False)),
- ('has_code', models.BooleanField(default=False)),
- ('status', models.IntegerField(choices=[(0, 'Draft'), (1, 'Published')], default=0)),
- ('meta_description', models.CharField(blank=True, max_length=256, null=True)),
- ('template_name', models.IntegerField(choices=[(0, 'default')], default=0)),
- ],
- options={
- 'get_latest_by': 'pub_date',
- 'ordering': ('-pub_date',),
- 'verbose_name_plural': 'entries',
- },
- ),
- migrations.CreateModel(
- name='Topic',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=60)),
- ('slug', models.SlugField()),
- ('pluralized_name', models.CharField(max_length=60)),
- ],
- ),
- migrations.AddField(
- model_name='entry',
- name='topics',
- field=models.ManyToManyField(blank=True, to='src.Topic'),
- ),
- ]
diff --git a/app/unused_apps/src/migrations/0002_auto_20160329_2107.py b/app/unused_apps/src/migrations/0002_auto_20160329_2107.py
deleted file mode 100644
index 25f5e4e..0000000
--- a/app/unused_apps/src/migrations/0002_auto_20160329_2107.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.9 on 2016-03-29 21:07
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('src', '0001_initial'),
- ]
-
- operations = [
- migrations.RenameModel(
- old_name='Entry',
- new_name='Post',
- ),
- ]
diff --git a/app/unused_apps/src/migrations/0003_auto_20180707_0958.py b/app/unused_apps/src/migrations/0003_auto_20180707_0958.py
deleted file mode 100644
index f619888..0000000
--- a/app/unused_apps/src/migrations/0003_auto_20180707_0958.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Generated by Django 2.0.1 on 2018-07-07 09:58
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('src', '0002_auto_20160329_2107'),
- ]
-
- operations = [
- migrations.AlterModelOptions(
- name='post',
- options={'get_latest_by': 'pub_date', 'ordering': ('-pub_date',), 'verbose_name_plural': 'posts'},
- ),
- ]
diff --git a/app/unused_apps/src/migrations/0004_auto_20191007_0905.py b/app/unused_apps/src/migrations/0004_auto_20191007_0905.py
deleted file mode 100644
index 6c223a0..0000000
--- a/app/unused_apps/src/migrations/0004_auto_20191007_0905.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Generated by Django 2.2.6 on 2019-10-07 09:05
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('src', '0003_auto_20180707_0958'),
- ]
-
- operations = [
- migrations.RenameModel(
- old_name='Post',
- new_name='SrcPost',
- ),
- ]
diff --git a/app/unused_apps/src/migrations/__init__.py b/app/unused_apps/src/migrations/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/app/unused_apps/src/migrations/__init__.py
+++ /dev/null