Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Tezor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Onboarding
AlekSIS-App-Tezor
Commits
78f61adc
Commit
78f61adc
authored
1 year ago
by
Hangzhi Yu
Browse files
Options
Downloads
Patches
Plain Diff
Use gettext_lazy instead of ugettext_lazy
parent
85911898
Branches
18-add-support-for-django-4
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!31
Resolve "Adapt for use with SPA"
,
!30
Draft: Resolve "Add support for django 4"
Pipeline
#125752
failed
1 year ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.rst
+8
-0
8 additions, 0 deletions
CHANGELOG.rst
aleksis/apps/tezor/views.py
+1
-1
1 addition, 1 deletion
aleksis/apps/tezor/views.py
with
9 additions
and
1 deletion
CHANGELOG.rst
+
8
−
0
View file @
78f61adc
...
...
@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
-----
* Replace usage of deprecated `ugettext_lazy` with `gettext_lazy`.
`1.2`_ - 2022-03-20
-------------------
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/tezor/views.py
+
1
−
1
View file @
78f61adc
...
...
@@ -2,7 +2,7 @@ from django.core.exceptions import PermissionDenied, SuspiciousOperation
from
django.shortcuts
import
get_object_or_404
,
redirect
,
render
from
django.urls
import
reverse
,
reverse_lazy
from
django.utils.decorators
import
method_decorator
from
django.utils.translation
import
u
gettext
as
_
from
django.utils.translation
import
gettext
as
_
from
django.views.decorators.cache
import
never_cache
from
django.views.generic
import
View
from
django.views.generic.detail
import
DetailView
...
...
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