Re: About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
Thanks carstien

On Wed, Jan 15, 2020, 12:10 PM Carsten Fuchs  wrote:

> Besides what others have said, I suggest you have a look at
>
> https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#extending-the-existing-user-model
> and all subsequent sections.
>
> If you have not started your project yet (have no migrations yet), look at
> https://github.com/jambonsw/django-improved-user
>
> If you are in mid-project already, I suggest:
> https://code.djangoproject.com/ticket/25313
>
> https://www.caktusgroup.com/blog/2019/04/26/how-switch-custom-django-user-model-mid-project/
>
> Best regards,
> Carsten
>
>
> Am 14.01.20 um 17:10 schrieb sachinbg sachin:
> > Hii every one I want to add some additional fields in inbuilt django
> user model am tried many of the things am not achieved that any reference
> help me and  any sources
> > Git repositories
> > Thanks in advance
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com  django-users+unsubscr...@googlegroups.com>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
> <
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com?utm_medium=email_source=footer
> >.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3a3eacd1-ec99-e6bc-97a3-b762cd934c91%40cafu.de
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61ryX0Y602c1YTd6-hAXsyRK0OwXLd-QX59UH_VUn1gQwYQ%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread Carsten Fuchs
Besides what others have said, I suggest you have a look at
https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#extending-the-existing-user-model
and all subsequent sections.

If you have not started your project yet (have no migrations yet), look at
https://github.com/jambonsw/django-improved-user

If you are in mid-project already, I suggest:
https://code.djangoproject.com/ticket/25313
https://www.caktusgroup.com/blog/2019/04/26/how-switch-custom-django-user-model-mid-project/

Best regards,
Carsten


Am 14.01.20 um 17:10 schrieb sachinbg sachin:
> Hii every one I want to add some additional fields in inbuilt django user 
> model am tried many of the things am not achieved that any reference help me 
> and  any sources  
> Git repositories 
> Thanks in advance
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
>  
> .


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3a3eacd1-ec99-e6bc-97a3-b762cd934c91%40cafu.de.


Re: About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
I was getting some error like is_staff is not an atribute an other source are 
git link I tried to fix that but am not able to do that

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b041d955-b4e4-43bc-9445-a2d7c944d3e5%40googlegroups.com.


Re: About extending the django inbuilt user

2020-01-14 Thread aakansha jain
hey, I am a beginner. I also want to contribute on django framework but I
am not getting how to run the project and see the code of it.

On Tue, Jan 14, 2020 at 9:41 PM sachinbg sachin 
wrote:

> Hii every one I want to add some additional fields in inbuilt django user
> model am tried many of the things am not achieved that any reference help
> me and  any sources
> Git repositories
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALjevB1tWv2pphReWZz6Mh5afaQnkuFzt_huq8ayggwVCetL3A%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread Farai M
Just do a one to One to the user table because if you have already created
and migrated the model on first install .Creating a custom model will give
you a  headache

On Tue, Jan 14, 2020 at 6:11 PM sachinbg sachin 
wrote:

> Hii every one I want to add some additional fields in inbuilt django user
> model am tried many of the things am not achieved that any reference help
> me and  any sources
> Git repositories
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMeub5NnaHHZY0O1iv-Dt_%2BftC4eRLmhGbr-Vd4hG9-1H877dg%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread ROHIT CHAUHAN
https://www.codingforentrepreneurs.com/tags/django/

On Tue, 14 Jan 2020 at 21:41, sachinbg sachin 
wrote:

> Hii every one I want to add some additional fields in inbuilt django user
> model am tried many of the things am not achieved that any reference help
> me and  any sources
> Git repositories
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF_q%3DRCkH6CgPy8in19CCVxwoX1GZ%2BLYpyRocG3A9hH8MKjCZQ%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread Kasper Laudrup

On 14/01/2020 17.10, sachinbg sachin wrote:
Hii every one I want to add some additional fields in inbuilt django 
user model am tried many of the things am not achieved that any 
reference help me and  any sources

Git repositories
Thanks in advance



https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/de469f8b-781e-259f-d022-0f31c5c120ba%40stacktrace.dk.


About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
Hii every one I want to add some additional fields in inbuilt django user
model am tried many of the things am not achieved that any reference help
me and  any sources
Git repositories
Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com.