Skip to content

Commit 840bafc

Browse files
authored
Merge pull request #4 from BirkbeckCTP/1.4.0-update
1.4.0 update
2 parents a5b2907 + ef34557 commit 840bafc

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

plugin_settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
PLUGIN_NAME = 'DOAJ Transporter'
88
DESCRIPTION = 'A plugin for exporting metadata to DOAJ via their API'
99
AUTHOR = 'Mauro Sanchez'
10-
VERSION = '1.0'
10+
VERSION = '1.1'
1111
SHORT_NAME = 'doaj_transporter'
1212
DISPLAY_NAME = 'DOAJ Transporter'
1313
MANAGER_URL = 'doaj_index'
14+
JANEWAY_VERSION = '1.4.0'
15+
1416

1517
PLUGIN_PATH = os.path.dirname(os.path.realpath(__file__))
1618
JSON_SETTINGS_PATH = os.path.join(PLUGIN_PATH, "install/settings.json")

translation.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from modeltranslation.translator import register, TranslationOptions
2+
3+
from submission import translation as sm_translation
4+
5+
from plugins.doaj_transporter import models
6+
7+
8+
@register(models.Article)
9+
class NoTranslationOptions(TranslationOptions):
10+
fields = ()

0 commit comments

Comments
 (0)