Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor 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®
Official
AlekSIS-Core
Commits
2463591a
Verified
Commit
2463591a
authored
4 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Replace ugettext_lazy by gettext_lazy. Advances
#224
parent
04c32e55
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!222
Resolve "ugettext_lazy deprecated"
Pipeline
#1334
failed
4 years ago
Stage: test
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
aleksis/core/forms.py
+1
-1
1 addition, 1 deletion
aleksis/core/forms.py
aleksis/core/menus.py
+1
-1
1 addition, 1 deletion
aleksis/core/menus.py
aleksis/core/models.py
+1
-1
1 addition, 1 deletion
aleksis/core/models.py
aleksis/core/views.py
+1
-1
1 addition, 1 deletion
aleksis/core/views.py
with
4 additions
and
4 deletions
aleksis/core/forms.py
+
1
−
1
View file @
2463591a
...
...
@@ -6,7 +6,7 @@ from django.contrib.auth import get_user_model
from
django.contrib.contenttypes.models
import
ContentType
from
django.core.exceptions
import
ValidationError
from
django.utils
import
timezone
from
django.utils.translation
import
u
gettext_lazy
as
_
from
django.utils.translation
import
gettext_lazy
as
_
from
django_select2.forms
import
ModelSelect2MultipleWidget
,
Select2Widget
from
material
import
Layout
,
Fieldset
,
Row
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/menus.py
+
1
−
1
View file @
2463591a
from
django.conf
import
settings
from
django.utils.translation
import
u
gettext_lazy
as
_
from
django.utils.translation
import
gettext_lazy
as
_
MENUS
=
{
"
NAV_MENU_CORE
"
:
[
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/models.py
+
1
−
1
View file @
2463591a
...
...
@@ -9,7 +9,7 @@ from django.db import models
from
django.db.models
import
QuerySet
from
django.forms.widgets
import
Media
from
django.utils
import
timezone
from
django.utils.translation
import
u
gettext_lazy
as
_
from
django.utils.translation
import
gettext_lazy
as
_
from
image_cropping
import
ImageCropField
,
ImageRatioField
from
phonenumber_field.modelfields
import
PhoneNumberField
from
polymorphic.models
import
PolymorphicModel
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/views.py
+
1
−
1
View file @
2463591a
...
...
@@ -4,7 +4,7 @@ from django.contrib.auth.decorators import login_required
from
django.core.exceptions
import
PermissionDenied
from
django.http
import
Http404
,
HttpRequest
,
HttpResponse
from
django.shortcuts
import
get_object_or_404
,
redirect
,
render
from
django.utils.translation
import
u
gettext_lazy
as
_
from
django.utils.translation
import
gettext_lazy
as
_
from
django_tables2
import
RequestConfig
...
...
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