10000 Fix save by yakky · Pull Request #242 · django-cms/djangocms-text-ckeditor · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Fix save #242

Merged
merged 3 commits into from
May 10, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion djangocms_text_ckeditor/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.4.3"
__version__ = "2.5.0b1"
1 change: 1 addition & 0 deletions djangocms_text_ckeditor/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(self, *args, **kwargs):
def save(self, *args, **kwargs):
# we need to save the plugin first and then save the updated body, otherwise
# we cannot set the correct parent on extracted images
kwargs['update_fields'] = ('body',)
super(AbstractText, self).save(*args, **kwargs)
body = self.body
body = extract_images(body, self)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
django-cms>=3.0
html5lib
html5lib<0.9999
pillow
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

INSTALL_REQUIRES = [
'django-cms>=3.0',
'html5lib',
'html5lib<0.9999',
'Pillow',
]

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ deps =
django17: django<1.8
django18: django<1.9
pillow
html5lib
html5lib<0.9999
coverage
djangocms-picture
djangocms-link
0