If I may ask: why do you want to do this? If you just want to change what's
displayed on Django Admin for example, you can do that without messing up
with the code.
On Tue, Oct 25, 2022 at 2:48 AM Ayser shuhaib
wrote:
> Oi Rafael
>
> I’m sure this tutorial will help you:
>
> https://youtu.be/Gdf
I never tried this, but maybe you can.
Inherit the User model, then add two new lines:
class DerivedUser(User):
.
sr_usuario = username
sr_password = password
On Tue, 25 Oct 2022 at 05:14, Rafael Noronha
wrote:
> Hello guys,
> I'm not advanced in Django and would like to know h
Oi Rafael
I’m sure this tutorial will help you:
https://youtu.be/GdfLXHhNABE
On Mon, 24 Oct 2022 at 23:14, Rafael Noronha
wrote:
> Hello guys,
> I'm not advanced in Django and would like to know how and if it's possible
> to do it.
>
> I need to override Django's user model, and change the fie
Hello guys,
I'm not advanced in Django and would like to know how and if it's possible
to do it.
I need to override Django's user model, and change the fields "username" to
"sr_usuario" and "password" to "sr_password", but I would like to continue
using all Django's default authentication schem
4 matches
Mail list logo