2016-02-01 11:20:16 +03:00
|
|
|
from django.apps import AppConfig
|
Replace all usage ugettext functions with the non-u versions (#6634)
On Python 3, the ugettext functions are a simple aliases of their non-u
counterparts (the 'u' represents Python 2 unicode type). Starting with
Django 3.0, the u versions will be deprecated.
https://docs.djangoproject.com/en/dev/releases/3.0/#id2
> django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(),
> ungettext(), and ungettext_lazy() are deprecated in favor of the
> functions that they’re aliases for:
> django.utils.translation.gettext(), gettext_lazy(), gettext_noop(),
> ngettext(), and ngettext_lazy().
2019-05-01 08:49:54 +03:00
|
|
|
from django.utils.translation import gettext_lazy as _
|
2016-02-01 11:20:16 +03:00
|
|
|
|
|
|
|
|
|
|
|
class AuthTokenConfig(AppConfig):
|
|
|
|
name = 'rest_framework.authtoken'
|
|
|
|
verbose_name = _("Auth Token")
|