Skip to content

Commit

Permalink
migrations,assets: remove ck iframe migration and ck_embed_iframe.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
m4ra authored and goapunk committed Mar 28, 2024
1 parent 55c1e31 commit 36fab20
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 59 deletions.
14 changes: 0 additions & 14 deletions adhocracy-plus/assets/scss/components/_ck_embed_iframe.scss

This file was deleted.

1 change: 0 additions & 1 deletion adhocracy-plus/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
@import "components/complete";
@import "components/contact_form";
@import "components/copyright";
@import "components/ck_embed_iframe";
@import "components/creator_count";
@import "components/dashboard_nav";
@import "components/data_table";
Expand Down
2 changes: 1 addition & 1 deletion apps/activities/migrations/0002_ckeditor_iframes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def replace_iframe_with_figur(apps, schema_editor):
)
iframe.replaceWith(figure)
if iframes:
activity.live_stream = soup.prettify(formatter="html")
activity.description = soup.prettify(formatter="html")
activity.save()


Expand Down
2 changes: 1 addition & 1 deletion apps/offlineevents/migrations/0004_ckeditor_iframes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def replace_iframe_with_figur(apps, schema_editor):
)
iframe.replaceWith(figure)
if iframes:
offlineEvent.live_stream = soup.prettify(formatter="html")
offlineEvent.description = soup.prettify(formatter="html")
offlineEvent.save()


Expand Down
1 change: 0 additions & 1 deletion apps/organisations/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ def __init__(self, *args, **kwargs):
for lang_code in self.languages:
for name, field_cls, kwargs in self.translated_fields:
self.instance.set_current_language(lang_code)
print(field_cls)
field = field_cls(**kwargs)
identifier = self._get_identifier(lang_code, name)
field.required = False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class Migration(migrations.Migration):
dependencies = [
("a4_candy_organisations", "0022_ckeditor_iframes"),
("a4_candy_organisations", "0021_alter_organisation_logo"),
]

operations = [
Expand Down
38 changes: 0 additions & 38 deletions apps/organisations/migrations/0022_ckeditor_iframes.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Generated by Django 3.2.19 on 2024-03-26 10:34
# Generated by Django 3.2.19 on 2024-03-28 10:38

from django.db import migrations
import django_ckeditor_5.fields


class Migration(migrations.Migration):
dependencies = [
("a4_candy_organisations", "0023_alter_organisationtranslation_information"),
("a4_candy_organisations", "0022_alter_organisationtranslation_information"),
]

operations = [
Expand Down

0 comments on commit 36fab20

Please sign in to comment.