Revert "Added markdown field into blog.Entry"
This reverts commit 84a94fc475
.
This commit is contained in:
parent
9dc393925e
commit
8dd7e3e819
|
@ -1,25 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2016-03-06 08:53
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('blog', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='entry',
|
||||
name='markdown',
|
||||
field=models.TextField(blank=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='entry',
|
||||
name='tags',
|
||||
field=models.ManyToManyField(blank=True, to='blog.Tag'),
|
||||
),
|
||||
]
|
|
@ -12,7 +12,6 @@ class Entry(models.Model):
|
|||
title = models.CharField(max_length=128)
|
||||
date = models.DateTimeField()
|
||||
content = models.TextField()
|
||||
markdown = models.TextField(blank=True)
|
||||
slug = models.SlugField(max_length=128)
|
||||
draft = models.BooleanField(default=True)
|
||||
author = models.ForeignKey(
|
||||
|
|
Loading…
Reference in New Issue