#27898: Inheriting from AbstractBaseUser does not interpolate unique error 
message
on field
-----------------------------------------+------------------------
               Reporter:  unho           |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  1.10
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 If a custom `User` model inherits from `AbstractBaseUser` instead of
 `AbstractUser` and it defines a unique field the uniqueness error message
 used is not correctly interpolated and is rendered as is: %(model_name)s
 with this %(field_label)s already exists.

--
Ticket URL: <https://code.djangoproject.com/ticket/27898>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.08ae092cfef1d6c10516a1b3d27b1a0b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to