Hi Sipum,
We did it on Speedy Net and you can see our models and settings there:
https://github.com/speedy-net/speedy-net
https://github.com/speedy-net/speedy-net/blob/master/speedy/core/accounts/models.py#L160
https://github.com/speedy-net/speedy-net/blob/master/speedy/core/settings/base_with_lo
Thanks a lot.. @Joe @Mahes
It will help me a lot.
On Tue, 21 May, 2019, 8:14 AM mahesh boini,
wrote:
> Extend AbstractUser class and give that name in settings file like
> AUTH_USER_MODEL=‘appname.modelname’
>
> On Tue, 21 May 2019 at 05:51, Joe Reitman wrote:
>
>> You can customize the user ta
Extend AbstractUser class and give that name in settings file like
AUTH_USER_MODEL=‘appname.modelname’
On Tue, 21 May 2019 at 05:51, Joe Reitman wrote:
> You can customize the user table by extending AbstractUser and add the
> fields you want to add (gender, phone)
>
> I have a custom user examp
You can customize the user table by extending AbstractUser and add the
fields you want to add (gender, phone)
I have a custom user example adding age field:
from django.db import models
from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
age = models.PositiveI
Ok thanks for reply.
On Mon, 20 May, 2019, 5:36 PM Rafael E. Ferrero,
wrote:
> Hello, you must to extend User model... search on google with this
> aproach!!
>
> Cheers!
>
> Rafael E. Ferrero
>
>
> El dom., 19 may. 2019 a las 14:13, Sipum () escribió:
>
>> Hello Friends,
>>
>> I want to customis
Hello, you must to extend User model... search on google with this
aproach!!
Cheers!
Rafael E. Ferrero
El dom., 19 may. 2019 a las 14:13, Sipum () escribió:
> Hello Friends,
>
> I want to customise django default user table and which should consist of
> name,phone, email and gender.
> And afte
6 matches
Mail list logo