Skip to content
Snippets Groups Projects
Commit 6473a5a9 authored by Steven H Johnson's avatar Steven H Johnson
Browse files

Don't require text in a document

parent c34fcd30
Branches
No related merge requests found
# -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-07-05 18:59
from __future__ import unicode_literals
import ckeditor_uploader.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('htmleditor', '0028_tabdocument_show_title'),
]
operations = [
migrations.AlterField(
model_name='document',
name='content',
field=ckeditor_uploader.fields.RichTextUploadingField(blank=True),
),
]
......@@ -134,7 +134,7 @@ class Document(models.Model):
objects = DocumentManager()
name = models.CharField(max_length=MAX_LENGTH, unique=True)
content = RichTextUploadingField()
content = RichTextUploadingField(blank=True)
class Meta:
ordering = ['name']
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment