SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 4b882e5e authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Debug take 2

parent 96362429
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-09-13 11:39
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('news', '0003_auto_20170812_0043'),
]
operations = [
migrations.AlterField(
model_name='newsitem',
name='followup_link',
field=models.URLField(blank=True, default=''),
preserve_default=False,
),
migrations.AlterField(
model_name='newsitem',
name='followup_link_text',
field=models.CharField(blank=True, default='', max_length=300),
preserve_default=False,
),
]
...@@ -8,8 +8,8 @@ class NewsItem(models.Model): ...@@ -8,8 +8,8 @@ class NewsItem(models.Model):
date = models.DateField() date = models.DateField()
headline = models.CharField(max_length=300) headline = models.CharField(max_length=300)
blurb = models.TextField() blurb = models.TextField()
followup_link = models.URLField(blank=True, null=True) followup_link = models.URLField(blank=True)
followup_link_text = models.CharField(max_length=300, blank=True, null=True) followup_link_text = models.CharField(max_length=300, blank=True)
on_homepage = models.BooleanField(default=True) on_homepage = models.BooleanField(default=True)
objects = NewsManager() objects = NewsManager()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment