Opened 9 years ago

Closed 9 years ago

#25071 closed Uncategorized (invalid)

How to override verbose_name for django.contrib.auth in django 1.8?

Reported by: Zhang Lei Owned by: nobody
Component: contrib.auth Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I have changed my project apps' verbose_name in admin, but I got a problem when overriding verbose_name for django.contrib.auth in django 1.8.

I've tried to create an AppConfig sub-instance with name = 'django.contrib.auth' and verbose_name but I got a error "django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: auth".

So does it can not override verbose_name for auth app?

Change History (1)

comment:1 by Tim Graham, 9 years ago

Resolution: invalid
Status: newclosed

Did you remove 'django.contrib.auth' from INSTALLED_APPS?

This is a support request rather than a bug or feature request, so please see TicketClosingReasons/UseSupportChannels for ways to get help.

Note: See TracTickets for help on using tickets.
Back to Top