Skip to content

Commit

Permalink
remove deprecated ckeditor fields
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and m4ra committed Dec 9, 2024
1 parent 25c95b4 commit 2143378
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 31 deletions.
17 changes: 0 additions & 17 deletions adhocracy4/ckeditor/fields.py

This file was deleted.

5 changes: 2 additions & 3 deletions adhocracy4/projects/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from __future__ import unicode_literals

from django.db import migrations, models
import ckeditor_uploader.fields
import django.utils.timezone
from django.conf import settings
import autoslug.fields
Expand Down Expand Up @@ -62,14 +61,14 @@ class Migration(migrations.Migration):
),
(
"information",
ckeditor_uploader.fields.RichTextUploadingField(
models.TextField(
help_text="This description should tell participants what the goal of the project is, how the project’s participation will look like. It will be always visible in the „Info“ tab on your project’s page.",
verbose_name="Description of your project",
),
),
(
"result",
ckeditor_uploader.fields.RichTextUploadingField(
models.TextField(
help_text="Here you should explain what the expected outcome of the project will be and how you are planning to use the results. If the project is finished you should add a summary of the results.",
blank=True,
),
Expand Down
3 changes: 1 addition & 2 deletions adhocracy4/projects/migrations/0007_add_verbose_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from __future__ import unicode_literals

from django.db import migrations, models
import ckeditor_uploader.fields


class Migration(migrations.Migration):
Expand All @@ -15,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="project",
name="result",
field=ckeditor_uploader.fields.RichTextUploadingField(
field=models.TextField(
verbose_name="Results of your project",
blank=True,
help_text="Here you should explain what the expected outcome of the project will be and how you are planning to use the results. If the project is finished you should add a summary of the results.",
Expand Down
5 changes: 2 additions & 3 deletions adhocracy4/projects/migrations/0009_optional_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# Generated by Django 1.11.4 on 2017-08-14 14:56
from __future__ import unicode_literals

import ckeditor_uploader.fields
from django.db import migrations
from django.db import migrations, models


class Migration(migrations.Migration):
Expand All @@ -16,7 +15,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="project",
name="information",
field=ckeditor_uploader.fields.RichTextUploadingField(
field=models.TextField(
blank=True,
help_text="This description should tell participants what the goal of the project is, how the project’s participation will look like. It will be always visible in the „Info“ tab on your project’s page.",
verbose_name="Description of your project",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# Generated by Django 1.11.8 on 2018-01-15 15:44
from __future__ import unicode_literals

import adhocracy4.ckeditor.fields
from django.db import migrations
from django.db import migrations, models


class Migration(migrations.Migration):
Expand All @@ -16,7 +15,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="project",
name="information",
field=adhocracy4.ckeditor.fields.RichTextCollapsibleUploadingField(
field=models.TextField(
blank=True,
help_text="This description should tell participants what the goal of the project is, how the project’s participation will look like. It will be always visible in the „Info“ tab on your project’s page.",
verbose_name="Description of your project",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Generated by Django 2.2.14 on 2020-09-16 15:34

import adhocracy4.ckeditor.fields
from django.db import migrations
from django.db import migrations, models


class Migration(migrations.Migration):
Expand All @@ -14,7 +13,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="project",
name="result",
field=adhocracy4.ckeditor.fields.RichTextCollapsibleUploadingField(
field=models.TextField(
blank=True,
help_text="Here you should explain what the expected outcome of the project will be and how you are planning to use the results. If the project is finished you should add a summary of the results.",
verbose_name="Results of your project",
Expand Down
3 changes: 3 additions & 0 deletions changelog/_1111.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Removed

- removed the deprecated django-ckeditor fields

0 comments on commit 2143378

Please sign in to comment.