Re: User creation

2023-03-28 Thread 'Kasper Laudrup' via Django users
On 28/03/2023 06.16, Prashanth Patelc wrote: Hi all, I'm creating new user fields like email username firstname after creating user I need to send password creation email to end user ? No, you don't have to but you can if you want. Kind regards, Kasper Laudrup -- You received this messag

User creation

2023-03-27 Thread Prashanth Patelc
Hi all, I'm creating new user fields like email username firstname after creating user I need to send password creation email to end user ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

change user creation form shown in Django admin

2022-01-07 Thread Anil Felipe Duggirala
hello, I am using a custom user model. I have created a form that includes an extra field: ## /users/forms.py class CustomUserCreationForm(UserCreationForm): class Meta(UserCreationForm): model = CustomUser fields = UserCreationForm.Meta.fields + ('phoneno',) I am using this

Re: Problem in user creation

2020-08-04 Thread sonam pankaj
Snapshot for the models Snapshots for signals On Wednesday, August 5, 2020 at 9:50:52 AM UTC+5:30, Amitesh Sahay wrote: > > Post your signal here to check > > > > On Tuesday, 4 August, 2020, 11:07:56 pm IST, sonam pankaj < > sonamp...@gmail.com > wrote: > > > We

Re: Problem in user creation

2020-08-04 Thread 'Amitesh Sahay' via Django users
Post your signal here to check On Tuesday, 4 August, 2020, 11:07:56 pm IST, sonam pankaj wrote: We have already used signals. still it escaped to make one of the user On Tue, Aug 4, 2020 at 9:35 PM neeraj garg wrote: You could use django signals which will keep the models in sync.

Re: Problem in user creation

2020-08-04 Thread sonam pankaj
We have already used signals. still it escaped to make one of the user On Tue, Aug 4, 2020 at 9:35 PM neeraj garg wrote: > You could use django signals which will keep the models in sync. > > On Tue, Aug 4, 2020, 9:16 PM sonam pankaj wrote: > >> >> >> Hi, >> there is a problem w

Re: Problem in user creation

2020-08-04 Thread neeraj garg
You could use django signals which will keep the models in sync. On Tue, Aug 4, 2020, 9:16 PM sonam pankaj wrote: > > > Hi, > there is a problem when doing profile model using contrib.auth , > sometimes profile is created without user so they went out of sync. How to > make sure

Problem in user creation

2020-08-04 Thread sonam pankaj
Hi, there is a problem when doing profile model using contrib.auth , sometimes profile is created without user so they went out of sync. How to make sure that user_id and Profile_id remain in sync. thanks -- You received this message because you are subscribed to the Google

How to set the email to lowercase on User Creation?

2013-07-22 Thread Cody Scott
I have a custom auth app. I am trying to only allow emails to be lower case in the database. I can create a user in the admin with Capitalized letters, even with email.lower() in the create_user method. Another solution would be to specify to the authenticate that the email can be any case. us

Re: automatically create user profile on user creation

2011-03-18 Thread Ori Livneh
I saw this one-liner and didn't think it was a very good solution. I'd be interested to hear others weigh in. It's not very readable, and readability counts. What is that [0] doing there? You have to rack your brain a little to recall that get_or_create returns a tuple of (object, created). Secon

Re: automatically create user profile on user creation

2011-03-16 Thread shantp
Check out this blog post for a one line solution to the same problem. http://www.turnkeylinux.org/blog/django-profile On Mar 16, 11:54 am, Ori Livneh wrote: > Hi guys, > > The Django docs explain that "the method get_profile() does not create the > profile, if it does not exist. You need to regi

automatically create user profile on user creation

2011-03-16 Thread Ori Livneh
Hi guys, The Django docs explain that "the method get_profile() does not create the profile, if it does not exist. You need to register a handler for the signal django.db.models.signals.post_save on the User model, and, in the handler, if created=True, create the associated user profile." (http://

Re: Newbie: New user creation with forms

2010-04-07 Thread Nicola Noonan
yes i followed that tutorial and can't even get that one working! On Wed, Apr 7, 2010 at 12:31 PM, Daniel Roseman wrote: > On Apr 7, 12:13 pm, Nicola Noonan wrote: > > I want to create a user with a form and i want that user to be able to > > submit data, see i'm building a website and it's a go

Re: Newbie: New user creation with forms

2010-04-07 Thread Daniel Roseman
On Apr 7, 12:13 pm, Nicola Noonan wrote: > I want to create a user with a form and i want that user to be able to > submit data, see i'm building a website and it's a gossip site, i need to > let other users log on and insert data such as gossip, news, articles. Im > not sure where to begin, i hav

Re: Newbie: New user creation with forms

2010-04-07 Thread Nicola Noonan
I want to create a user with a form and i want that user to be able to submit data, see i'm building a website and it's a gossip site, i need to let other users log on and insert data such as gossip, news, articles. Im not sure where to begin, i have a rough idea about the forms but its actually sa

Re: Newbie: New user creation with forms

2010-04-06 Thread Wiiboy
What exactly do you mean by, "Create a user and allow that user to submit data such as messages"? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group,

Newbie: New user creation with forms

2010-04-06 Thread NicMAN
Hi all i'm a beginner at django and was wondering if any one can help me by being able to create a user and to allow that user to submit data such as messages onto my website! I'm struggling with learning the hard stuff in django. Thanks in advance -- You received this message because you are su

Re: Long user creation forms

2009-09-16 Thread Rodney Topor
I've decided this *is* a good way to solve my problem. On Sep 10, 2:40 pm, Rodney Topor wrote: > The default UserCreationForm in django.contrib.auth.forms only asks > for username and password.  Given that users also have first and last > names and emails, it would be natural for the default for

Long user creation forms

2009-09-09 Thread Rodney Topor
The default UserCreationForm in django.contrib.auth.forms only asks for username and password. Given that users also have first and last names and emails, it would be natural for the default form to provide fields for these also. One way to provide these extra fields is to define a subclass of U

Re: ANN: User-creation hole fixed in Django development (Subversion) version

2006-09-07 Thread Kenneth Gonsalves
On 08-Sep-06, at 11:34 AM, Adrian Holovaty wrote: > We're making this announcement in case some people are > using the development version on a production site somewhere. thanks for the prompt work - afaik most production sites are running on the development version -- regards kg http://l

ANN: User-creation hole fixed in Django development (Subversion) version

2006-09-07 Thread Adrian Holovaty
Hello all, Thanks to a report 30 minutes ago from Robert Bunting, we've fixed a hole in the Django admin site that allows non-authenticated users to create unprivileged user accounts by guessing a URL. This affects people using the Django development version, revision 3520 or higher. It does *no