Revert accidental gettext_lazy change.
This commit is contained in:
parent
7a0c282a65
commit
45d69410b3
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
from django.contrib import admin
|
||||
from django.contrib.auth.admin import UserAdmin
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
# from authtools.admin import UserAdmin
|
||||
from .forms import RadioUserChangeForm, RadioUserCreationForm
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from django import forms
|
||||
from django.contrib.auth.forms import UserChangeForm, UserCreationForm
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from .models import RadioUser
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from django.contrib.auth.base_user import BaseUserManager
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class RadioUserManager(BaseUserManager):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from django.db import models
|
||||
from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin
|
||||
from django.core.mail import send_mail
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.utils import timezone
|
||||
|
||||
from .managers import RadioUserManager
|
||||
|
|
Loading…
Reference in a new issue