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
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
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
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
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.
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
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
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
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
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
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
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://
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
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
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
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,
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
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
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
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
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
21 matches
Mail list logo