fix up
This commit is contained in:
parent
53512d9dcf
commit
4b01a5217b
|
@ -1,6 +1,5 @@
|
||||||
# Generated by Django 3.0.6 on 2020-05-26 12:57
|
# Generated by Django 3.0.6 on 2020-05-26 12:57
|
||||||
|
|
||||||
import ckeditor.fields
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
|
@ -123,7 +122,7 @@ class Migration(migrations.Migration):
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"content",
|
"content",
|
||||||
ckeditor.fields.RichTextField(blank=True, null=True, verbose_name="content"),
|
models.TextField(blank=True, null=True, verbose_name="content"),
|
||||||
),
|
),
|
||||||
("pub_date", models.DateTimeField(blank=True, null=True)),
|
("pub_date", models.DateTimeField(blank=True, null=True)),
|
||||||
(
|
(
|
||||||
|
@ -333,7 +332,7 @@ class Migration(migrations.Migration):
|
||||||
"active",
|
"active",
|
||||||
models.BooleanField(
|
models.BooleanField(
|
||||||
default=True,
|
default=True,
|
||||||
help_text="if not checked this program is no longer active",
|
help_text="if not chemodels.onger active",
|
||||||
verbose_name="active",
|
verbose_name="active",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -556,7 +555,7 @@ class Migration(migrations.Migration):
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"content",
|
"content",
|
||||||
ckeditor.fields.RichTextField(blank=True, null=True, verbose_name="content"),
|
models.TextField(blank=True, null=True, verbose_name="content"),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"view",
|
"view",
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import bleach
|
import bleach
|
||||||
from ckeditor_uploader.fields import RichTextUploadingField
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
from django.utils import timezone as tz
|
from django.utils import timezone as tz
|
||||||
|
@ -100,11 +99,7 @@ class BasePage(Renderable, models.Model):
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
)
|
)
|
||||||
content = RichTextUploadingField(
|
content = models.TextField(_("content"), blank=True, null=True)
|
||||||
_("content"),
|
|
||||||
blank=True,
|
|
||||||
null=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
objects = BasePageQuerySet.as_manager()
|
objects = BasePageQuerySet.as_manager()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user