Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
invenio-previewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fdm
invenio-previewer
Commits
9abfad6f
Commit
9abfad6f
authored
Feb 19, 2023
by
Christoph Ladurner
Committed by
Karolina
Mar 2, 2023
Browse files
Options
Downloads
Patches
Plain Diff
migrate: flask_babelex replaced by invenio_i18n
parent
2eab729a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
invenio_previewer/__init__.py
+1
-1
1 addition, 1 deletion
invenio_previewer/__init__.py
tests/conftest.py
+1
-1
1 addition, 1 deletion
tests/conftest.py
with
2 additions
and
2 deletions
invenio_previewer/__init__.py
+
1
−
1
View file @
9abfad6f
...
...
@@ -74,7 +74,7 @@ Extensions
Now that we have configured the Flask application, let
'
s initialize all
dependent Invenio extensions:
>>>
from
flask_babelex
import
Babel
>>>
from
invenio_i18n
import
Babel
>>>
from
invenio_assets
import
InvenioAssets
>>>
from
invenio_db
import
InvenioDB
,
db
>>>
from
invenio_records
import
InvenioRecords
...
...
This diff is collapsed.
Click to expand it.
tests/conftest.py
+
1
−
1
View file @
9abfad6f
...
...
@@ -19,7 +19,6 @@ from zipfile import ZipFile
import
pytest
from
flask
import
Flask
from
flask_babelex
import
Babel
from
flask_webpackext
import
current_webpack
from
invenio_assets
import
InvenioAssets
from
invenio_config
import
InvenioConfigDefault
...
...
@@ -28,6 +27,7 @@ from invenio_db import db as db_
from
invenio_files_rest
import
InvenioFilesREST
from
invenio_files_rest.models
import
Location
,
ObjectVersion
from
invenio_formatter
import
InvenioFormatter
from
invenio_i18n
import
Babel
from
invenio_pidstore.providers.recordid
import
RecordIdProvider
from
invenio_records
import
InvenioRecords
from
invenio_records_files.api
import
Record
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment