[PR #369] [MERGED] replaced ugettext_lazy with gettext_lazy #523

Closed
opened 2026-02-27 15:59:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtcloud/pull/369
Author: @Real-Gecko
Created: 10/14/2020
Status: Merged
Merged: 10/14/2020
Merged by: @catborise

Base: masterHead: master


📝 Commits (1)

  • 1b3fd9d replaced ugettext_lazy with gettext_lazy

📊 Changes

23 files changed (+40 additions, -39 deletions)

View changed files

📝 accounts/forms.py (+1 -1)
📝 accounts/models.py (+1 -1)
📝 admin/forms.py (+2 -2)
📝 admin/views.py (+1 -1)
📝 appsettings/migrations/0002_auto_20200527_1603.py (+2 -1)
📝 appsettings/migrations/0004_auto_20200716_0637.py (+2 -2)
📝 appsettings/models.py (+2 -1)
📝 appsettings/views.py (+10 -11)
📝 computes/forms.py (+1 -1)
📝 computes/models.py (+1 -1)
📝 computes/validators.py (+1 -1)
📝 instances/forms.py (+1 -1)
📝 instances/models.py (+1 -1)
📝 instances/utils.py (+1 -1)
📝 instances/views.py (+3 -3)
📝 interfaces/forms.py (+1 -1)
📝 logs/models.py (+1 -1)
📝 networks/forms.py (+1 -1)
📝 networks/views.py (+3 -3)
📝 nwfilters/views.py (+1 -1)

...and 3 more files

📄 Description

ugettext became an alias of gettext in Django 2.0 and in Django 3.0 all ugettext functions are deprecated in favor of gettext equivalents.

https://docs.djangoproject.com/en/3.1/releases/3.0/#id3


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtcloud/pull/369 **Author:** [@Real-Gecko](https://github.com/Real-Gecko) **Created:** 10/14/2020 **Status:** ✅ Merged **Merged:** 10/14/2020 **Merged by:** [@catborise](https://github.com/catborise) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`1b3fd9d`](https://github.com/retspen/webvirtcloud/commit/1b3fd9d05e0a71f94a17864c2a2be39794a30a26) replaced ugettext_lazy with gettext_lazy ### 📊 Changes **23 files changed** (+40 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `accounts/forms.py` (+1 -1) 📝 `accounts/models.py` (+1 -1) 📝 `admin/forms.py` (+2 -2) 📝 `admin/views.py` (+1 -1) 📝 `appsettings/migrations/0002_auto_20200527_1603.py` (+2 -1) 📝 `appsettings/migrations/0004_auto_20200716_0637.py` (+2 -2) 📝 `appsettings/models.py` (+2 -1) 📝 `appsettings/views.py` (+10 -11) 📝 `computes/forms.py` (+1 -1) 📝 `computes/models.py` (+1 -1) 📝 `computes/validators.py` (+1 -1) 📝 `instances/forms.py` (+1 -1) 📝 `instances/models.py` (+1 -1) 📝 `instances/utils.py` (+1 -1) 📝 `instances/views.py` (+3 -3) 📝 `interfaces/forms.py` (+1 -1) 📝 `logs/models.py` (+1 -1) 📝 `networks/forms.py` (+1 -1) 📝 `networks/views.py` (+3 -3) 📝 `nwfilters/views.py` (+1 -1) _...and 3 more files_ </details> ### 📄 Description `ugettext` became an alias of `gettext` in Django 2.0 and in Django 3.0 all `ugettext` functions are deprecated in favor of `gettext` equivalents. https://docs.djangoproject.com/en/3.1/releases/3.0/#id3 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:59:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#523
No description provided.