summaryrefslogtreecommitdiff
path: root/app/links/migrations/0001_initial.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-22 10:25:32 -0500
committerluxagraf <sng@luxagraf.net>2015-12-22 10:25:32 -0500
commit06a306de30a78f8c0c0a38546c23605425d9d2d2 (patch)
tree0c69b5253fedea8f1aaafd211bc494204a90b6cd /app/links/migrations/0001_initial.py
parented871debbb59ae816ef61678d43fcad88033c5dd (diff)
updated links app to grab full text of page as markdown
Diffstat (limited to 'app/links/migrations/0001_initial.py')
-rw-r--r--app/links/migrations/0001_initial.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/links/migrations/0001_initial.py b/app/links/migrations/0001_initial.py
new file mode 100644
index 0000000..1a50e8e
--- /dev/null
+++ b/app/links/migrations/0001_initial.py
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2015-12-22 09:22
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import taggit.managers
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('taggit', '0002_auto_20150616_2121'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Link',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=400)),
+ ('url', models.CharField(max_length=400)),
+ ('description', models.TextField(blank=True, null=True)),
+ ('pub_date', models.DateTimeField()),
+ ('status', models.IntegerField(choices=[(0, 'Private'), (1, 'Public')], default=0)),
+ ('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'],
+ },
+ ),
+ ]