mirror of
https://github.com/Hopiu/wagtail-modeltranslation.git
synced 2026-05-11 08:43:11 +00:00
v0.0.8
This commit is contained in:
parent
6ffd8285ae
commit
dc8f55b02d
5 changed files with 14 additions and 3 deletions
|
|
@ -47,6 +47,10 @@ Simple app containing a mixin model that integrates modeltranslation
|
|||
|
||||
## Release Notes
|
||||
|
||||
## v0.0.8
|
||||
|
||||
- Fixed issue related to deleting a non existing key on PAGE_EDIT_HANDLER dict
|
||||
|
||||
## v0.0.7
|
||||
|
||||
- Fixed set_url_path() translatable model method
|
||||
|
|
|
|||
BIN
dist/wagtail-modeltranslation-0.0.8.tar.gz
vendored
Normal file
BIN
dist/wagtail-modeltranslation-0.0.8.tar.gz
vendored
Normal file
Binary file not shown.
2
setup.py
2
setup.py
|
|
@ -9,7 +9,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
|||
|
||||
setup(
|
||||
name='wagtail-modeltranslation',
|
||||
version='0.0.7',
|
||||
version='0.0.8',
|
||||
packages=['wagtail_modeltranslation'],
|
||||
include_package_data=True,
|
||||
license='BSD License',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: wagtail-modeltranslation
|
||||
Version: 0.0.7
|
||||
Version: 0.0.8
|
||||
Summary: Integration of django-modeltranslation with Wagtail CMS
|
||||
Home-page: https://github.com/infoportugal/wagtail-modeltranslation
|
||||
Author: Rui Martins
|
||||
|
|
@ -11,6 +11,8 @@ Description: # Wagtail modeltranslation
|
|||
Simple app containing a mixin model that integrates modeltranslation
|
||||
(https://github.com/deschler/django-modeltranslation) into wagtail panels system.
|
||||
|
||||

|
||||
|
||||
## Quick start
|
||||
|
||||
1. Make sure you have django-modeltranslation installed:
|
||||
|
|
@ -53,6 +55,10 @@ Description: # Wagtail modeltranslation
|
|||
|
||||
## Release Notes
|
||||
|
||||
## v0.0.8
|
||||
|
||||
- Fixed issue related to deleting a non existing key on PAGE_EDIT_HANDLER dict
|
||||
|
||||
## v0.0.7
|
||||
|
||||
- Fixed set_url_path() translatable model method
|
||||
|
|
|
|||
|
|
@ -51,7 +51,8 @@ class TranslationMixin(object):
|
|||
|
||||
# DELETE TEMPORARY EDIT HANDLER IN ORDER TO LET WAGTAIL RECONSTRUCT
|
||||
# NEW EDIT HANDLER BASED ON NEW TRANSLATION PANELS
|
||||
del PAGE_EDIT_HANDLERS[self.__class__]
|
||||
if self.__class__ in PAGE_EDIT_HANDLERS:
|
||||
del PAGE_EDIT_HANDLERS[self.__class__]
|
||||
|
||||
def _fetch_defined_tabs(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue