Re: Adding extra registration fields to my user registration

2023-04-02 Thread Clement Idemudo
there're two possible reasons for this: * you don't have those filled in your forms.py module or * your forms filled is not of the same case (upper or lower) with your request.Post[ ] query. but next time, try and add screenshot while asking question, its gives whoever that is responding more in

Re: Adding extra registration fields to my user registration

2023-04-01 Thread Marcelo Robin
you can create an application called profile where in its models you can place all the fields you need to add about the user. This video explains how you can do it. https://youtu.be/R8EHCohLvbw El jue, 30 mar 2023 a la(s) 00:08, Ebenezer Otchere (swazyman1...@gmail.com) escribió: > I want to coll

Adding extra registration fields to my user registration

2023-03-29 Thread Ebenezer Otchere
I want to collect user information in my registration forms like first name last name and country but it give me errors that unexpected keyword arguments with firstname lastname and country Any help how i will add extra fields to be store in the database thank You and advance -- You received

Re: User registration with security features

2020-08-17 Thread Andréas Kühne
oes DJango have built in functions for user registration with following > security features? > > 1. Initial registration should be successful as it is new user registration > 1.1. Upon successful registration and login, device will be registered in > account history > > 2. When login

User registration with security features

2020-08-16 Thread Ram
Hi, Does DJango have built in functions for user registration with following security features? 1. Initial registration should be successful as it is new user registration 1.1. Upon successful registration and login, device will be registered in account history 2. When login is attempted from

Re: How to make Custom User Registration and Login

2020-05-31 Thread sunday honesty
It's better to make a separate app for users. You can call the app users or account. Create a form.py file in your users app. Then create a CustomUser class that inherits from either AbstractUser or AbstractBaseUser (check out the difference between the two). Then you can define the fields you want

Re: How to make Custom User Registration and Login

2020-05-31 Thread Abhi Mathew
Here: Django Custom User Model I don't how familiar you are with Django but this post will help you anyhow! On Wednesday, May 6, 2020 at 3:39:29 PM UTC+5:30, Anubhav Madhav wrote: > > I am new to Django. I need to make a custom sign up and log i

Re: " AttributeError at /register/ " facing problem in implementing user registration

2020-05-24 Thread Kasper Laudrup
Hi Madhav, On 24/05/2020 13.08, Madhav Nandan wrote: I'm creating a register page. see the screenshot below., I'm following lectures and doing as instructed but still stuck. I don't see how the screenshots are related to the issue you are having. Please explain. here is the source code

Re: " AttributeError at /register/ " facing problem in implementing user registration

2020-05-24 Thread Kasper Laudrup
Hi Madhav, On 24/05/2020 04.54, Madhav Nandan wrote: Hi, I need help here. I did the required changes in forms.py as well as in view.py but my user registration still not working. Once again, try to make sense from the error messages. They are actually pointing to your problem quite

Re: How to make Custom User Registration and Login

2020-05-07 Thread Anubhav Madhav
Thankyou so much Kushal!! On Wednesday, 6 May 2020 20:47:39 UTC+5:30, Kushal Neupane wrote: > > For you following web pages or video will help you. > > https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html > > https://www.youtube.com/watch?v=oZUb372g6Do

Re: How to make Custom User Registration and Login

2020-05-07 Thread Anubhav Madhav
Thankyou Camilo!! On Wednesday, 6 May 2020 20:42:10 UTC+5:30, Camilo Garcia wrote: > > This might come in handy > https://learndjango.com/tutorials/django-custom-user-model > > On Wednesday, May 6, 2020 at 5:09:29 AM UTC-5, Anubhav Madhav wrote: >> >> I am new to Django. I need to make a custom s

Re: How to make Custom User Registration and Login

2020-05-06 Thread Kushal Neupane
For you following web pages or video will help you. https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html https://www.youtube.com/watch?v=oZUb372g6Do https://docs.djangoproject.com/en/3.0/topics/auth/customizing/ https://testdriven.io/blog/django-custom-user

Re: How to make Custom User Registration and Login

2020-05-06 Thread Camilo Garcia
This might come in handy https://learndjango.com/tutorials/django-custom-user-model On Wednesday, May 6, 2020 at 5:09:29 AM UTC-5, Anubhav Madhav wrote: > > I am new to Django. I need to make a custom sign up and log in page. > Because, during Sign Up, I also want to get User's Address and Conta

How to make Custom User Registration and Login

2020-05-06 Thread Anubhav Madhav
I am new to Django. I need to make a custom sign up and log in page. Because, during Sign Up, I also want to get User's Address and Contact Number. In Django's 'User' module, it isn't supported. So, how can I make a custom sign up and sign in page. Please Help!! -- You received this message b

Re: How to create user registration

2019-09-06 Thread Tosin Ayoola
https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html Here u will get all u need On Sep 6, 2019 12:43, "VIJAY RAJA" wrote: > How to create user registration forms > > -- > You received this message because you are subscribe

Re: How to create user registration

2019-09-06 Thread Shirley Nelson
I know how to make user registration. If you want me to tutor you it is $50 per hour paid via PayPal. On Fri, Sep 6, 2019, 7:43 AM VIJAY RAJA wrote: > How to create user registration forms > > -- > You received this message because you are subscribed to the Google Groups > "

Re: How to create user registration

2019-09-06 Thread Kasper Laudrup
On September 6, 2019 10:09:11 AM GMT+02:00, VIJAY RAJA wrote: >How to create user registration forms > >-- >You received this message because you are subscribed to the Google >Groups "Django users" group. >To unsubscribe from this group and stop receiving email

Re: How to create user registration

2019-09-06 Thread Suraj Thapa FC
Check out this https://github.com/SurajFc/Django-DRF-Boilerplate-with-otp-verification On Fri, 6 Sep, 2019, 5:14 PM VIJAY RAJA, wrote: > How to create user registration forms > > -- > You received this message because you are subscribed to the Google Groups > "Djang

How to create user registration

2019-09-06 Thread VIJAY RAJA
How to create user registration forms -- 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 discuss

Re: How do I customize a user registration form so it only requires email and password fields?

2017-11-21 Thread sunil mishra
eate-user-sign-up-view.html) > > on making simple registration forms in Django. I'd like to make a user > registration form that requires only two fields: "Email" and "Password." No > second password field, just one. > > So far, My `views.py`

Re: How do I customize a user registration form so it only requires email and password fields?

2017-11-20 Thread Tom Tanner
tesh >> >> Sent from Yahoo Mail on Android >> <https://overview.mail.yahoo.com/mobile/?.src=Android> >> >> On Mon, Nov 20, 2017 at 8:50, Tom Tanner >> wrote: >> I'm following this [tutorial]( >> https://simpleisbetterthancomplex.com/tutor

Re: How do I customize a user registration form so it only requires email and password fields?

2017-11-20 Thread Tom Tanner
; On Mon, Nov 20, 2017 at 8:50, Tom Tanner > > wrote: > I'm following this [tutorial]( > https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html) > > on making simple registration forms in Django. I'd like to make a user > registratio

Re: How do I customize a user registration form so it only requires email and password fields?

2017-11-19 Thread 'Amitesh Sahay' via Django users
iew.html) on making simple registration forms in Django. I'd like to make a user registration form that requires only two fields: "Email" and "Password." No second password field, just one. So far, My `views.py` looks like this:      def register(request, template="reg

How do I customize a user registration form so it only requires email and password fields?

2017-11-19 Thread Tom Tanner
I'm following this [tutorial](https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html) on making simple registration forms in Django. I'd like to make a user registration form that requires only two fields: "Email" and "Passw

Creating my own user registration View and displaying "user created" on the same page after register

2017-09-21 Thread fábio andrews rocha marques
I'm trying to create my own View to register a new User in my website. I'm using this tutorial to help me with authentication: https://docs.djangoproject.com/en/1.11/topics/auth/default/# But my problem is: in the same View that i have my form that i use to create a new User, i want to, when a

Re: Connection with SQL server and user registration form

2017-08-28 Thread Vineet Kothari
Models with provide you with fields in django it is madatory to use model thats why it is models. you ll have to change the configration in settings.py to allow mysql as backend database On Mon, Aug 28, 2017 at 9:57 PM, yingi keme wrote: > Okk so django has its own server set up already configu

Re: Connection with SQL server and user registration form

2017-08-28 Thread yingi keme
Okk so django has its own server set up already configured All you need to so is type in the command python manage.py runserver Yes. Django uses the MVC approach. So you have to use Models if you want to connect with your database. Yingi Kem > On 28 Aug 2017, at 3:25 PM, Gopi Devarapalli

Connection with SQL server and user registration form

2017-08-28 Thread Gopi Devarapalli
Hi everyone, I am new to django. I just want to connect with sql server. And when user submit the form i need to save the details on the sql server database table. And I am confusing that there are models that are using SQLite, is it mandatory to use Model? -- You received this message becau

Re: Best way to implement a more complex user registration/auth flow?

2017-08-27 Thread Alexander Joseph
Thanks Eduardo, I will try that! On Saturday, August 26, 2017 at 2:05:22 PM UTC-6, Eduardo Balbinot wrote: > > You could do like this: when the user signs in you create the user in the > database and flags is_active as False, so the user won't be able to log in. > In your extended User model y

Re: Best way to implement a more complex user registration/auth flow?

2017-08-26 Thread Eduardo Balbinot
You could do like this: when the user signs in you create the user in the database and flags is_active as False, so the user won't be able to log in. In your extended User model you could have another flag like has_confirmed_email which you also set to False. When the user confirms the email you

Re: Best way to implement a more complex user registration/auth flow?

2017-08-26 Thread Eduardo Balbinot
You could do like this: when the user signs in you create the user in the database and flags is_active as False, so the user won't be able to log in. In your extended User model you could haverá -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Best way to implement a more complex user registration/auth flow?

2017-08-25 Thread Alexander Joseph
Thanks Eduardo, I actually extended the User model by making an AbstractBaseUser sub-class. I'm using is_active also but I guess I'm not sure how to implement my flow for registering new users. I suppose I need to extend the classes or models in django.contrib.auth. I was also just looking at a

Re: Best way to implement a more complex user registration/auth flow?

2017-08-25 Thread Eduardo Balbinot
You probably need extra attributes in your User class, which means you could extend the User class like explained here: https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#extending-the-existing-user-model Don't forget you could also work with the *is_active *attribute to control whe

Best way to implement a more complex user registration/auth flow?

2017-08-25 Thread Alexander Joseph
I'm currently using django.contrib.auth for my user authentication which works well for simple authentication/authorization but I'd like to expand the registration/auth flow a little. Right now with the default flow users go to the signup page, signup, then are redirected to the login page and

Create media directory for each user upon user registration

2017-06-26 Thread pieceofkayk2718
Hey all, I've been trying to figure out how to create a directory in my media directory for each user upon user registration. I have found a lot of resources on how to upload files to a directory but just about none on simply how to create the directory. I would like to be able to ha

Integrating django-registration-redux along with custom_user: Prevent user registration if UserProfile is not valid

2016-10-20 Thread njan
I'm trying to use django-registration-redux along with custom_user. I have added both apps to settings.py My main urls.py is as given below from userprofile.forms import UserProfileForm from registration.backends.default.views import RegistrationView urlpatterns = [ url(r'user/register/$',

Re: User Registration

2016-06-08 Thread vaibhav
ddress=validated_data['address'], city=validated_data['city'],etc.) That would suffice. On Wednesday, June 8, 2016 at 4:19:31 PM UTC+5:30, Arshpreet Singh wrote: > > I am implementing Django User registration method as provided in the >

Re: User Registration

2016-06-08 Thread ludovic coues
am implementing Django User registration method as provided in the > following tutorial: > > https://mayukhsaha.wordpress.com/2013/05/09/simple-login-and-user-registration-application-using-django/ > > It is not using any model/model-form, But I want to connect with > User-re

User Registration

2016-06-08 Thread Arshpreet Singh
I am implementing Django User registration method as provided in the following tutorial: https://mayukhsaha.wordpress.com/2013/05/09/simple-login-and-user-registration-application-using-django/ It is not using any model/model-form, But I want to connect with User-registration with other defined

Suggestion needed: user registration without a username but with email + Facebook authentication + Linking profiles together + REST API

2015-07-13 Thread Andrey Shipilov
Hey guys, I have tried several approaches and kinda stuck now. I have tried using django-allauth, django-rest-auth, djangorestframework, python-social-auth and such. Basically I have these requirements for a project I am building. - It's an iOS/Android app, so it needs to have RESTful API.

Re: What are some 3rd party good django applications which handle user registration,login and authentication?

2015-06-08 Thread Marcos Lewis
For registration I like to use django-registration-redux. https://django-registration-redux.readthedocs.org/en/latest/ El lunes, 8 de junio de 2015, 15:55:36 (UTC-3), akshat escribió: > > I know some applications and have also used them but I want to know what > other django users use and love?

What are some 3rd party good django applications which handle user registration,login and authentication?

2015-06-08 Thread akshat
I know some applications and have also used them but I want to know what other django users use and love? Thanks -- 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 t

Re: No Email field in the User Registration Form

2015-06-06 Thread Luis Zárate
Where is your meta class ? It is not in __init__() function, is it? if it is then problem is there. class Meta: > model = CustomUser > fields = ['email',] > del self.fields['username'] > this is wrong, use exclude in Meta class to remove fields -- "La utopía sirve para caminar" Fernando

No Email field in the User Registration Form

2015-06-03 Thread akshat
<https://lh3.googleusercontent.com/-pvHOH7DpU94/VW7i_dFeTVI/AFQ/ZdGQlRUPSrQ/s1600/register.png> Hello, I am using Django 1.8 and creating a custom user model and registration. My Custom USer registration form is this - class CustomUserCreationForm(UserCreationForm): "&qu

Re: User Registration Tutorial

2013-06-05 Thread Jonathan Baker
t; https://bitbucket.org/**ubernostrum/django-**registration<https://bitbucket.org/ubernostrum/django-registration> >> Docs: >> https://django-**registration.readthedocs.org/**en/latest/<https://django-registration.readthedocs.org/en/latest/> >> >> >> On

Re: User Registration Tutorial

2013-06-05 Thread Nafiul Islam
: https://bitbucket.org/ubernostrum/django-registration > Docs: https://django-registration.readthedocs.org/en/latest/ > > > On Wed, Jun 5, 2013 at 9:01 AM, Nafiul Islam > > wrote: > >> Hi! Is there a good tutorial on how to make a user-registration system >

Re: User Registration Tutorial

2013-06-05 Thread Jonathan Baker
, Jun 5, 2013 at 9:01 AM, Nafiul Islam wrote: > Hi! Is there a good tutorial on how to make a user-registration system > using django? Any tips would be highly appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Django users&q

User Registration Tutorial

2013-06-05 Thread Nafiul Islam
Hi! Is there a good tutorial on how to make a user-registration system using django? Any tips would be highly appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re: djano user registration form and login(full example)

2013-04-17 Thread sachin
Hello again, In extended auth user model, is there any *way to handle unique fields with django forms*. Lets say I have model like: class UserProfile(models.Model): user = models.OneToOneField(User) phone_num = models.BigIntegerField(null=True, unique=True) def __unicode__(self):

Re: djano user registration form and login(full example)

2013-04-17 Thread isachin
Thanx, Btw, I solved it by creating an instance of get_profile() and then saving user and profile separately. here is the code snippet of *forms.py* if commit: profile = user.get_profile() profile.serial_num = self.cleaned_data['serial_num'] profile.save() user.sa

Re: djano user registration form and login(full example)

2013-04-16 Thread Avnesh Shakya
This error is occur when you're saving the member, not the user. When creating the member, you are not assigning the user. On Wed, Apr 17, 2013 at 10:45 AM, sachin wrote: > I m still stuck with > > Exception Type: IntegrityError > Exception Value: column user_id is not unique > > Whenev

Re: djano user registration form and login(full example)

2013-04-16 Thread sachin
I m still stuck with Exception Type: IntegrityError Exception Value: column user_id is not unique Whenever I try to save, it throws the above error. I have attached files for reference, can someone help ?? On Saturday, April 6, 2013 7:07:32 PM UTC+5:30, sachin wrote: > > Thanx Shawn,

Re: djano user registration form and login(full example)

2013-04-07 Thread Thomas Rega
Am 06.04.2013 um 16:30 schrieb Shawn Milochik: > I've seen some situations where it looked like signals are received multiple > times. > > However, you can easily fix that by checking for the existence of the user in > your function, or a try/except that handles the integrity error. or by usa

Re: djano user registration form and login(full example)

2013-04-06 Thread Shawn Milochik
I've seen some situations where it looked like signals are received multiple times. However, you can easily fix that by checking for the existence of the user in your function, or a try/except that handles the integrity error. Also, if you're starting a new project, consider upgrading to Django 1

Re: djano user registration form and login(full example)

2013-04-06 Thread sachin
Thanx Shawn, * * UserCreationForm really helped. Now I have a different problem, I'm trying to add custom feilds to *auth user *using storing-additional-information-about-users . But now I m getting th

Re: djano user registration form and login(full example)

2013-04-01 Thread Alexis Roda
Al 01/04/13 21:11, En/na sachin ha escrit: Hello, I'm just starting with Django. I want to create a user registration form which will take input like username, password, first and last name, email, address etc. using the same information I want to send a conformation mail to use

Re: djano user registration form and login(full example)

2013-04-01 Thread Shawn Milochik
Don't even worry about factories. They're for when you want a bunch of forms for the same model on the page at once. Use the UserCreationForm in django.contrib.auth.forms. It only accepts a username and password, so you can either subclass it to add the fields or make your own form and add it to y

djano user registration form and login(full example)

2013-04-01 Thread sachin
Hello, I'm just starting with Django. I want to create a user registration form which will take input like username, password, first and last name, email, address etc. using the same information I want to send a conformation mail to user and authenticate her/him. I have read Django docs,

Re: Finding a project for django user registration

2013-02-05 Thread Zhao Quan
hi all when I trying 'userena', I get the exception which is "siteprofilenotavailable" I do some google at first, some one suggest upgrade django. but I use the latest version of django. interesting thing is I find this topic. https://github.com/bread-and-pepper/django-userena/issues/153 the cre

Re: Finding a project for django user registration

2013-02-05 Thread Zhao Quan
Thanks Ezequiel Im trying this. On Wed, Feb 6, 2013 at 10:08 AM, Ezequiel wrote: > On Tuesday, February 5, 2013 10:52:19 PM UTC-3, Zhao Quan wrote: > >> at last, I find this one >> https://github.com/**nathanborror/django-**registration >> >

Re: Finding a project for django user registration

2013-02-05 Thread Ezequiel
On Tuesday, February 5, 2013 10:52:19 PM UTC-3, Zhao Quan wrote: > at last, I find this one > https://github.com/nathanborror/django-registration > > but, seems it create in 3 years later and no update in current. > Is there any suggest for is issue? > > Check out https://github.com/bread-and-pep

Re: Finding a project for django user registration

2013-02-05 Thread Nikolas Stevenson-Molnar
I go throw a django tutorial in www.djangoproject.com > <http://www.djangoproject.com> > > now I want to create a website by django to get my hands dirty. > > seems, the user registration is need implement by ourself. > > so, I try to find it in github. > > at las

Re: user registration help please

2012-04-21 Thread Ejah
It seems to me you that with 'if created:' are testing for something that is either already happened, or you already have an exception. 'created' is taking the place of the request object. And the request object not necessarily contains valid POST data, but will exist, so the test will pass always.

Re: user registration help please

2012-04-21 Thread psychok7
i upgraded to 0.8 and start doing things your way and it seems to work fine. i just have one question, is this code OK or yours is better? if yes why is that? def create_user_profile(sender, instance, created, **kwargs): if created: UserProfile.objects.create(user=insta

Re: user registration help please

2012-04-21 Thread Ejah
No problem. You would need to upgrade to 0.8 to make this work. Enjoy! On Apr 21, 11:46 pm, psychok7 wrote: > yes 0.7 , well ill give it a try then :) if i run into problems i will > bother you a little bit further > > > > > > > > On Saturday, April 21, 2012 10:33:32 PM UTC+1, Ejah wrote: > > > H

Re: user registration help please

2012-04-21 Thread psychok7
yes 0.7 , well ill give it a try then :) if i run into problems i will bother you a little bit further On Saturday, April 21, 2012 10:33:32 PM UTC+1, Ejah wrote: > > Hi, > What version of django-registration are you using? I assume 0.7 > The usage of profile_callback has been removed in 0.8, a

Re: user registration help please

2012-04-21 Thread Ejah
Hi, What version of django-registration are you using? I assume 0.7 The usage of profile_callback has been removed in 0.8, a very recent release actually, looking at the codebase history. The finer documentation on the usage of 0.8 is made available at: http://docs.b-list.org/django-registration/0.

Re: user registration help please

2012-04-21 Thread psychok7
thanks guys, i also did some tests without changing the registration source by doing get_profile() and it seems to work fine so i guess the less i touch it the better On Saturday, April 21, 2012 4:41:21 PM UTC+1, Brandy wrote: > > It looks correct. Is everything showing up now? > > > On Saturd

Re: user registration help please

2012-04-21 Thread Brandy
It looks correct. Is everything showing up now? On Saturday, April 21, 2012 9:38:51 AM UTC-5, psychok7 wrote: > its seemed to work, thanks > from django.contrib import admin > > from registration.models import RegistrationProfile , UserProfile > > > class RegistrationAdmin(admin.ModelAdmin): >

Re: user registration help please

2012-04-21 Thread psychok7
Ejah i did that because in registration source code there are some values in Profile_callback set to NONE.. should i leave it like that?? the comments say i should change it and equal it to my user profile. is that it or i am doing it the wrong way? On Saturday, April 21, 2012 3:29:40 PM UTC+1,

Re: user registration help please

2012-04-21 Thread psychok7
its seemed to work, thanks from django.contrib import admin from registration.models import RegistrationProfile , UserProfile class RegistrationAdmin(admin.ModelAdmin): list_display = ('__unicode__', 'activation_key_expired') search_fields = ('user__username', 'user__first_name') admi

Re: user registration help please

2012-04-21 Thread Ejah
If I am not mistaken you are editting the Registration source files. There is no need to do that. Simply add a new App. Create your user profile class in its models.py file, name it whatever you like. Add registration and your App to the installed_apps in your settings file. Edit the settings file

Re: user registration help please

2012-04-21 Thread Brandy
Have you created an admin.py file? It should look something like this: from poll.models import Poll from django.contrib import admin admin.site.register(Poll) On Saturday, April 21, 2012 12:28:05 AM UTC-5, psychok7 wrote: > hi there, i am quite new to django and i am having a little trouble

Re: user registration help please

2012-04-21 Thread Brandy
Have you made an admin.py file? It should look something like this: from polls.models import Poll from django.contrib import admin admin.site.register(Poll) On Saturday, April 21, 2012 12:28:05 AM UTC-5, psychok7 wrote: > hi there, i am quite new to django and i am having a little trouble

user registration help please

2012-04-21 Thread psychok7
hi there, i am quite new to django and i am having a little trouble extending my User with Userprofile. i have read lots of documentation about it and i have implemented as an extension of https://bitbucket.org/ubernostrum/django-registration a version but i am not sure it works the way its sup

Re: User Registration -> Password not saving

2011-09-22 Thread Kurtis Mullins
I was wrong. There wasn't any issue with the unicode. Your fixed worked perfectly. I just had to change my comparison from password is not password_confirm to password != password_confirm and it's working great now. Thanks a lot! On Thu, Sep 22, 2011 at 12:04 PM, Kurtis Mullins wrote: > Thank

Re: User Registration -> Password not saving

2011-09-22 Thread Kurtis Mullins
Thanks Daniel! You were right on cue with that. I tried your code and for some reason the value is being returned as a standard string instead of a unicode string, as far as I can tell. (Effectively, my password and passwordConfirm are not matching anymore). Hopefully once I get that worked out, th

Re: User Registration -> Password not saving

2011-09-22 Thread Daniel Roseman
On Thursday, 22 September 2011 15:18:15 UTC+1, Kurtis wrote: > > Sorry, I guess I should've posted that as well :) > > import string > class PasswordField(forms.CharField): > > # Setup the Field > def __init__(self, *args, **kwargs): > super(PasswordField, self).__init__(min_le

Re: User Registration -> Password not saving

2011-09-22 Thread Kurtis Mullins
assword must include at least \ one letter and at least one number.') On Thu, Sep 22, 2011 at 4:15 AM, Daniel Roseman wrote: > > > On Wednesday, 21 September 2011 23:42:02 UTC+1, Kurtis wrote: > >> Hey, >> >> I've cr

Re: User Registration -> Password not saving

2011-09-22 Thread Daniel Roseman
On Wednesday, 21 September 2011 23:42:02 UTC+1, Kurtis wrote: > > Hey, > > I've created my own User Registration FormView. Everything seems to > work great except the password is always saved as "!". I can change > that with the "password changer"

Re: User Registration -> Password not saving

2011-09-21 Thread Kurtis
I didn't realize the code would come out so unreadable. It's also posted here: http://dpaste.com/618619/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this

User Registration -> Password not saving

2011-09-21 Thread Kurtis
Hey, I've created my own User Registration FormView. Everything seems to work great except the password is always saved as "!". I can change that with the "password changer" in the admin section of the site. I am using an alternative authentication backend, so I'

Re: Admin User registration problem...

2011-06-16 Thread ashish tiwari
thank you... -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/T4B46pv50HwJ. To post to this group, send email to django-users@googlegroups.com. To unsubscrib

Re: Admin User registration problem...

2011-06-16 Thread Kenny Meyer
data['password1'],     email=form.cleaned_data['email'], ) Kenny On Thu, Jun 16, 2011 at 12:03 PM, ashish tiwari wrote: > hi friends, > i developed an application in django-nonrel with appengine. > i'm using django forms for user registration. > > forms.

Admin User registration problem...

2011-06-16 Thread ashish tiwari
hi friends, i developed an application in django-nonrel with appengine. i'm using django forms for user registration. forms.py class RegistrationForm(forms.Form): username=forms.CharField(label=u'Username',max_length=30) email=forms.CharField(label=u'

Re: add field to the user registration (back-office)

2011-04-10 Thread gladys
Hi issolah, I'm not sure if i got your question correctly, but did you mean adding a 'country' field to django.contrib.auth.models.User? If so, you need to add a UserProfile(need not have this exact name), as described in the docs. Check out this link: http://docs.djangoproject.com/en/dev/topics/a

add field to the user registration (back-office)

2011-04-10 Thread issolah
Hey, So I create a module slider to manage a banner of site. The banner depend of the country choosed by front office user in site (user is not registred). But in the back-office, this modules muste be manage by user depend on her country Ex: I have some user: --> marc: mo

Re: Django user registration email issues in dev enviroment

2010-11-17 Thread Johannes Nel
in case someone runs into this in the future, i had to set the default from email to get it to work. DEFAULT_FROM_EMAIL = 'sam...@domain.com' nicer error messages would have been, well nice. On Wed, Nov 17, 2010 at 9:52 AM, Johannes Nel wrote: > ok, I decided to switch to one of my SMTP server

Re: Django user registration email issues in dev enviroment

2010-11-17 Thread Johannes Nel
ok, I decided to switch to one of my SMTP servers I know works and which I send email from on my local machine via a java app I have. now I get a very non descriptive error Environment: Request Method: POST Request URL: http://localhost:8000/accounts/register/ Django Version: 1.2.3 Python Versio

Django user registration email issues in dev enviroment

2010-11-17 Thread Johannes Nel
Hi My dev enviroment is OS x 10.5 I grabbed the django registration application and configured it to email via my local host spooler. After which I setup postfix alias's for some dummy domains, these I tested from command line and my emails are coming through. Then i proceed to get the register ap

translate user registration errors

2010-11-09 Thread Andrea Imparato
Hello to all, I have to translate Username can only contain alphanumeric characters and the underscore. error when my users have to register to my site. How can I do that? I tried blocktrans without success :( Thanks P.S.: django is so cool :) -- You received this message because you are subsc

RE: User Registration: Looking for tips

2010-07-29 Thread Colleen A Josephson
users Subject: Re: User Registration: Looking for tips Euan, Thank you for the response. I agree with what you're saying and it seems that I have two options before me. 1. Define simple form class for my registration process. Write a save method that posts to both the "User" model

Re: User Registration: Looking for tips

2010-07-29 Thread strayhand
. In this example he's storing activation key in the UserProfile model. http://www.b-list.org/weblog/2006/sep/02/django-tips-user-registration/ I think that I could use what he's demonstrating here and add my own fields. What are your thoughts on this code? There are a few comments below

Re: User Registration: Looking for tips

2010-07-29 Thread Wiiboy
Would it be possible to just use two ModelForms? -- 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, send email to django-users+unsubscr...@googlegr

Re: User Registration: Looking for tips

2010-07-28 Thread euan.godd...@googlemail.com
ddition to modifying the UserCreationForm I've come across a > couple of leads: > > 1. Build my own registration process following this example: > > http://www.b-list.org/weblog/2006/sep/02/django-tips-user-registration/ > > I'm concerned with how old this post is. Is

User Registration: Looking for tips

2010-07-28 Thread strayhand
ModelForm fields or change their labels but nothing about adding additional fields, particularly from other models. In addition to modifying the UserCreationForm I've come across a couple of leads: 1. Build my own registration process following this example: http://www.b-list.org/weblog/2006/

user registration extras

2010-05-19 Thread appel268576
hi there. I am having some issues and don't really know where to go to with this. I am using the django-registration from bitbucket which is very handy, however I would like to pass extra items upon registration such as 'first name', 'last name' etc. any ideas? -- You received this message bec

Django user registration password field

2010-05-02 Thread andy saksena
Hi All, I am having the following error while using the dual password field : class DualPasswordWidget(forms.Widget): ^ SyntaxError: invalid syntax my views.py is # Create your views here. from django.shortcuts import render_to_response, get_object_or_404 from datetime import datetime f

Re: Django User Registration tutorial

2010-03-06 Thread Ilya Braude
Hudar wrote: Hello, I am new to django and still go through the tutorial. Just made a simple registration form using django and found this error : http://dpaste.com/168746/ Below are the register function I wrote : def register(request): if request.method == "POST": form = UserCrea

Django User Registration tutorial

2010-03-06 Thread Hudar
Hello, I am new to django and still go through the tutorial. Just made a simple registration form using django and found this error : http://dpaste.com/168746/ Below are the register function I wrote : def register(request): if request.method == "POST": form = UserCreationForm(reques

  1   2   >