Re: Registration

2009-04-20 Thread Praveen
Before going to answer of your question i am really sure that you have not read the docs of django-registration and django docs any way if you want to make it use django-registration(default) then install it and write in settings.py 'registration'(below of your appname) in

Re: Registration

2009-04-20 Thread TP
name='registration_activate'), url(r'^login/$', auth_views.login, {'template_name': 'registration/ login.html'}, name='auth_login'),

Re: Registration

2009-04-20 Thread TP
name='registration_activate'), url(r'^login/$', auth_views.login, {'template_name': 'registration/ login.html'}, name='auth_login'),

Re: Registration

2009-04-20 Thread soniiic
The templates are basically your HTML pages. You need to write your urls.py so that when a user visits a certain page, the view that corresponds to that url is just a render_to_response with a path to the HTML page. I can't really be bothered to explain it in detail but once you get the hang of

Re: Registration

2009-04-20 Thread TP
I have a fair understanding of Python, and have been interested in Django for a while now, I have read the documentation and done some tutorials. Now I want to get my teeth stuck into a working project, As I said I want to set up a working registration application, and I am working through the

Re: Registration

2009-04-20 Thread Andy Mikhailenko
eed just "registration"? No you don't. Again, please read Eric's essay (see link above). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Registration

2009-04-20 Thread TP
I am working through the following tutorial : http://www.mangoorange.com/2008/09/17/django-registration-tutorial/ A sample working document is provided, im just not sure how to get it working! I am unsure whether I have to provide the HTML myself to create the forms for the registration, as its

Re: Registration

2009-04-20 Thread TP
On Apr 20, 9:50 am, soniiic wrote: > you can't just add django funcationality to an already-made HTML > site.  The whole site has to be moved on the django platform. Sorry for the lack of detail surrounding my problem. soniiic, thanks for the help. How should I go about moving the site onto

Re: Registration

2009-04-20 Thread soniiic
you can't just add django funcationality to an already-made HTML site. The whole site has to be moved on the django platform. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Re: Registration

2009-04-19 Thread Phil Mocek
On Sun, Apr 19, 2009 at 02:28:39AM -0700, TP wrote: > Still having the same problem if anyone can help? I can't help with your problem, but it's likely that I can help you find people who are willing and able to help you. Please see this essay, "How To Ask Questions The Smart Way," by Eric S. R

Re: Registration

2009-04-19 Thread Joshua Partogi
What exactly your problem? We need more specific details about your errors that you're getting On Apr 19, 7:28 pm, TP wrote: > Still having the same problem if anyone can help? > > On Apr 17, 3:35 pm, TP wrote: > > > > > Hi I have a HTML website and im looki

Re: Registration

2009-04-19 Thread TP
Still having the same problem if anyone can help? On Apr 17, 3:35 pm, TP wrote: > Hi I have a HTML website and im looking to use Django-registration > with it. > > I have downloaded the registration app, but cannot see how I add it to > my already made website. > > An

Registration

2009-04-17 Thread TP
Hi I have a HTML website and im looking to use Django-registration with it. I have downloaded the registration app, but cannot see how I add it to my already made website. Any help would be great. --~--~-~--~~~---~--~~ You received this message because you are

Re: Registration form and Profile form is not saving

2009-04-13 Thread Daniel Roseman
On Apr 13, 5:57 am, Praveen wrote: > How the current user logging-in first while registration.. you mean to > say after successfully registration the user must login automatically. Well, you haven't explained the user flow at all here. But I assume that it's the RegistrationF

Re: newbie question: django-registration

2009-04-13 Thread Angel Cruz
l activated the account). > > > > I will fix it. > > > > On Sun, Apr 12, 2009 at 12:21 PM, MrBodjangles >wrote: > > > > > Hi Folks and Happy Easter! > > > > > OK, making slow but sure progress on learning Django. > > > > > I a

Re: newbie question: django-registration

2009-04-12 Thread Praveen
t; OK, making slow but sure progress on learning Django. > > > I am using django-registration, have provided the simple templates > > required, and am to the point that a user can register (their usename, > > password, etc. get populated in the auth_user table of the PostgreSQL >

Re: Registration form and Profile form is not saving

2009-04-12 Thread Praveen
How the current user logging-in first while registration.. you mean to say after successfully registration the user must login automatically. On Apr 11, 7:55 pm, Praveen wrote: > Hi all, i am really fed up and have tried number of way. Please read > my last line which really describe wher

Re: newbie question: django-registration

2009-04-12 Thread Angel Cruz
am using django-registration, have provided the simple templates > required, and am to the point that a user can register (their usename, > password, etc. get populated in the auth_user table of the PostgreSQL > databae I am using), and receives an email. > > I am stuck on the activation.

newbie question: django-registration

2009-04-12 Thread MrBodjangles
Hi Folks and Happy Easter! OK, making slow but sure progress on learning Django. I am using django-registration, have provided the simple templates required, and am to the point that a user can register (their usename, password, etc. get populated in the auth_user table of the PostgreSQL

Re: Registration form and Profile form is not saving

2009-04-11 Thread Daniel Roseman
On Apr 11, 3:55 pm, Praveen wrote: > Hi all, i am really fed up and have tried number of way. Please read > my last line which really describe where i am facing problem. > First Attempt. > Problem:Data is saving for register and contact but for profile i get > error > ValueError > Exception Va

Registration form and Profile form is not saving

2009-04-11 Thread Praveen
ength=30, choices=CITY_CHOICES, blank=True) class RegistrationForm(forms.Form): """The basic account registration form.""" title = forms.CharField(max_length=30, label=_('Title'), required=False) email = forms.EmailField(label=_('Email address&#x

Re: registration and profile must save at a time

2009-04-10 Thread Praveen
d_welcome_email(contact.email, contact.first_name, contact.last_name) signals.satchmo_registration_verified.send(contact, contact=contact) context = RequestContext(request, { 'account': account, 'expiration_days': config_value('SHOP', &

User registration issues

2009-04-09 Thread bax...@gretschpages.com
I have a random/intermittent user registration problem. I can't figure out any pattern to it, but it appears to have started when I went to Django 1.0. Some users (again, it appears random and intermittent) are not getting a site user profile created. The auth.user profile is created, an

Re: registration and profile must save at a time

2009-04-08 Thread James Bennett
ield in user model class or not but i do not want > change the structure of auth_user table. ok in a single line i want > django-registration and django-profile to be mingle in one form. could > you please suggest me link or idea. So you need to provide: 1. A form class which has all the

Re: registration and profile must save at a time

2009-04-08 Thread Praveen
of auth_user table. ok in a single line i want django-registration and django-profile to be mingle in one form. could you please suggest me link or idea. On Apr 8, 5:36 pm, Praveen wrote: > hi all i have one very intrested question when we write /accounts/ > register/ then on browser i get 5

Re: registration and profile must save at a time

2009-04-08 Thread Malcolm Tredinnick
On Wed, 2009-04-08 at 05:36 -0700, Praveen wrote: [...] > i am very much familiar with django-registration and django-profile > but it really wiered to display extra fields on Registration Form for > that we will have to customize the from django.contrib.auth.forms. I feel you migh

registration and profile must save at a time

2009-04-08 Thread Praveen
hi all i have one very intrested question when we write /accounts/ register/ then on browser i get 5 field username,pwd,cnfpwd,firstname,lastname but i want to add two more fields city, age on registration form. i know i can use django-profiles to extend User and can save to UserProfile but i am

django-registration - newbie - rendering dictionary values

2009-03-30 Thread neri...@gmail.com
Hello, I'm new to django/python and I'm trying to use django-registration in my first app but I'm having problems rendering the activation_key in the email message i.e., the email_message.txt file passed as the first argument to render_to_string() will render it's own conten

django-registration - getting activation key into message.

2009-03-27 Thread neri...@gmail.com
he rest of the message to be sent? message = render_to_string('registration/ activation_email.txt', { 'activation_key': registration_profile.activation_key, 'expiration_days

Re: django-registration - 504 error

2009-03-23 Thread Karen Tracey
On Mon, Mar 23, 2009 at 6:28 PM, neri...@gmail.com wrote: > > Hey, > > does anyone know why I'm getting a "Exception Type: > SMTPRecipientsRefused" error using django-registration? > > Exception Type: SMTPRecipientsRefused > Exception Value: > &

django-registration - 504 error

2009-03-23 Thread neri...@gmail.com
Hey, does anyone know why I'm getting a "Exception Type: SMTPRecipientsRefused" error using django-registration? Exception Type: SMTPRecipientsRefused Exception Value: {u'neri...@gmail.com': (504, ': Sender address rejected: need fully-qualified

Re: django-registration - outputting errors

2009-03-23 Thread jeffhg58
h 23, 2009 3:33:04 PM GMT -06:00 US/Canada Central Subject: django-registration - outputting errors Hello, I just started my first django project and I'm not sure how to print the errors from non_field_errors(). Here is the snippet from registration.forms.py:   

django-registration - outputting errors

2009-03-23 Thread neri...@gmail.com
Hello, I just started my first django project and I'm not sure how to print the errors from non_field_errors(). Here is the snippet from registration.forms.py: def clean(self): """ Verifiy that the values entered into the two password fields match. Note that an error

django-registration - Unhandled Exception

2009-03-16 Thread neri...@gmail.com
Hello, I successfully set up django-registration on my local machine to the point of being able to load a url and attempt to load the template. However, I'm trying to set it up on Dreamhost and keep getting "An unhandled exception was thrown by the application." The only th

Re: Django-Registration help

2009-03-13 Thread Bastien
may be it can > > help someone: > > Unfortunately you found the wrong answer; if you're making changes to > the code that came with django-registration, you're doin' it wrong. > > The "register" view takes keyword arguments precisely so that you can >

Re: Django-Registration help

2009-03-13 Thread James Bennett
On Fri, Mar 13, 2009 at 5:02 AM, Bastien wrote: > I will answer my own question since I found the answer, may be it can > help someone: Unfortunately you found the wrong answer; if you're making changes to the code that came with django-registration, you're doin' it wrong.

Re: Django-Registration help

2009-03-13 Thread Bastien
o use the available functionality "terms of service" in > Django-Registration but have no clue about how I do that. I already > have the basic thing running on my project. > > thanks --~--~-~--~~~---~--~~ You received this message because you are subsc

Django-Registration help

2009-03-12 Thread Bastien
Hi, I'd like to use the available functionality "terms of service" in Django-Registration but have no clue about how I do that. I already have the basic thing running on my project. thanks --~--~-~--~~~---~--~~ You received this message because you

Re: how to create a registration with the UserCreationForm fields and an optional email field?

2009-03-02 Thread Alex Gaynor
On Mon, Mar 2, 2009 at 7:44 AM, localhorst.1...@gmail.com < localhorst.1...@gmail.com> wrote: > > hi, > the UserCreationForm has only the fields username, password and > password again. > But i want an optional emailfield in my registration. > > i read the overrid

how to create a registration with the UserCreationForm fields and an optional email field?

2009-03-02 Thread localhorst.1...@gmail.com
hi, the UserCreationForm has only the fields username, password and password again. But i want an optional emailfield in my registration. i read the overriding a ModelForm part in the documentation and i tried this: >>> class UserCreationFormExtended(ModelForm): ... email = model.E

Re: Registration Behavior

2009-02-19 Thread timlash
u. are > > you using django-profiles? > > > On Feb 19, 8:24 am, timlash wrote: > > > I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my > > > Debian Etch box. I'm making decent progress on developing my first > > > Dja

Re: Registration Behavior

2009-02-18 Thread Alex Gaynor
> > Debian Etch box. I'm making decent progress on developing my first > > Django web app. I've got models, tables, views, templates, > > registration has successfully sent Gmail and test users have been > > activated. > > > > My first noob problem: I don&

Re: Registration Behavior

2009-02-18 Thread Praveen
> Django web app.  I've got models, tables, views, templates, > registration has successfully sent Gmail and test users have been > activated. > > My first noob problem: I don't understand how Django and/or > Registration is controlling the order in which web pages are >

Registration Behavior

2009-02-18 Thread timlash
I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my Debian Etch box. I'm making decent progress on developing my first Django web app. I've got models, tables, views, templates, registration has successfully sent Gmail and test users have been activated.

Re: django-registration & django-profile together

2009-02-11 Thread Mike Ramirez
On Wednesday 11 February 2009 02:13:53 pm Alex Rades wrote: > On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote: > > I don't know about django-profiles, but django-registration provides a > > couple signals, user_registered and user_activated. By connecting a > > hand

Re: django-registration & django-profile together

2009-02-11 Thread Mike Ramirez
On Wednesday 11 February 2009 02:13:53 pm Alex Rades wrote: > On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote: > > I don't know about django-profiles, but django-registration provides a > > couple signals, user_registered and user_activated. By connecting a > > hand

Re: django-registration & django-profile together

2009-02-11 Thread Alex Rades
On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote: > I don't know about django-profiles, but django-registration provides a couple > signals, user_registered and user_activated. By connecting a handler to > either one of these singals you can redirect the users to the profi

Re: django-registration & django-profile together

2009-02-11 Thread Mike Ramirez
On Wednesday 11 February 2009 01:19:14 pm Alex Rades wrote: > It's "django-profiles" not "django-profile" > > On Wed, Feb 11, 2009 at 10:15 PM, Alex Rades wrote: > > Hi, > > I'm developing a site using django-registration and I'm pretty ha

Re: django-registration & django-profile together

2009-02-11 Thread Alex Rades
It's "django-profiles" not "django-profile" On Wed, Feb 11, 2009 at 10:15 PM, Alex Rades wrote: > Hi, > I'm developing a site using django-registration and I'm pretty happy > with it. Now, I need to attach a profile to each user, with some > addi

django-registration & django-profile together

2009-02-11 Thread Alex Rades
Hi, I'm developing a site using django-registration and I'm pretty happy with it. Now, I need to attach a profile to each user, with some additional information. I've set up django-profiles and... works OK too :) What I'd like to do now is to "force" a new user to

Re: UserProfile with django-registration

2009-02-02 Thread Karen Tracey
On Mon, Feb 2, 2009 at 4:33 AM, Praveen wrote: > > I am trying to create UserProfile.i am using django-registration. > > [snip bunch of code that wraps badly in email, except a key bit] > regview.py > -- > def profile_callback(self, user): > [snip] if

UserProfile with django-registration

2009-02-02 Thread Praveen
I am trying to create UserProfile.i am using django-registration. models.py - class UserProfile(models.Model): user = models.ForeignKey(User, unique=True, verbose_name=_('user')) gender = models.CharField(_('gender'), max_length=1, choices=GENDER_

Re: Ongoing problems with django-registration installation.

2009-01-22 Thread NoviceSortOf
It seems to me the that automatic mechanism mentioned in the docs does not exist in django-registration but in its component django-profiles, reading the source code I see this... def create_profile(request, form_class=None, success_url=None, template_name='pro

Re: Ongoing problems with django-registration installation.

2009-01-22 Thread NoviceSortOf
Django 1.0/django-registration .07 problems continue *** Issue 1 - No module named urls occuring during registration form completion. Via the methodology listed by Karen above I was able to trace my missing

Re: Ongoing problems with django-registration installation.

2009-01-21 Thread Karen Tracey
On Wed, Jan 21, 2009 at 2:21 PM, NoviceSortOf wrote: > > > Karen: > > Thanks again, you are right I had the userprofile installed instead of > django-profiles > installed. > > I went to the bitbucket django-registration link you mentioned before > and downloaded th

Re: Ongoing problems with django-registration installation.

2009-01-21 Thread NoviceSortOf
Karen: Thanks again, you are right I had the userprofile installed instead of django-profiles installed. I went to the bitbucket django-registration link you mentioned before and downloaded the django-profiles linked there and installed it. I made a small modification to

Re: Ongoing problems with django-registration installation.

2009-01-21 Thread Karen Tracey
On Wed, Jan 21, 2009 at 12:22 PM, NoviceSortOf wrote: > > > 0.7 is where full Django 1.0 compatibility was included. I'm assuming > you > > are using Django 1.0 or higher? The error related to 'alnum_re' you > mention > > later looks to be the

Re: Ongoing problems with django-registration installation.

2009-01-21 Thread NoviceSortOf
> 0.7 is where full Django 1.0 compatibility was included.  I'm assuming you > are using Django 1.0 or higher?  The error related to 'alnum_re' you mention > later looks to be the result of django-registration using a core validator > thingy -- these were all removed

Re: Ongoing problems with django-registration installation.

2009-01-21 Thread Karen Tracey
On Wed, Jan 21, 2009 at 10:06 AM, NoviceSortOf wrote: > > > Initially my problem was getting django-registration to add/update new > users to my > custom designed mysite.UserProfile table. > > Other than that django-registration worked o.k. sent notifications and > so on,

Re: Ongoing problems with django-registration installation.

2009-01-21 Thread NoviceSortOf
update to the above - running manage.py syncdb DID create the mysite.myproject.userprofile with all the userprofile.models base fields included. on completion of the registration form though i still get The following error * Request URL: http://www.rareasianbooks.com/accounts

Ongoing problems with django-registration installation.

2009-01-21 Thread NoviceSortOf
Initially my problem was getting django-registration to add/update new users to my custom designed mysite.UserProfile table. Other than that django-registration worked o.k. sent notifications and so on, but without it giving me control of our custom user profile it was impossible to move

Re: Login during registration

2009-01-21 Thread Alastair Campbell
Thanks Bruno, Looks like out emails crossed in the ether! The error message didn't really help, it was failing at the auth stage, which doesn't help debugging. My colleague had to add debug code to Django auth to figure out the issue. I was just surprised that @login_required didn't check for i

Re: Login during registration

2009-01-21 Thread bruno desthuilliers
On 21 jan, 00:27, AlastairC wrote: > Hi everyone, > > I'm trying to create a registration process that includes membership > details and a paypal bit (for a non-profit org), and use the > registration app as the first step. > > However, I'd like to log people in

Re: Login during registration

2009-01-21 Thread Alastair Campbell
To answer my own question... I got some help at work, and established that the login was failing because it is using the hashed password, not the raw one. That means that there is no way for me to use the activation stage to log the person in (apart from asking them for their details again). I ca

Login during registration

2009-01-20 Thread AlastairC
Hi everyone, I'm trying to create a registration process that includes membership details and a paypal bit (for a non-profit org), and use the registration app as the first step. However, I'd like to log people in when they 'activate' (click the link in the email and retur

Re: Anyone maintaining a Svn repo for django-registration?

2008-12-16 Thread Dave Dash
I just hg pull the code from time to time. I've had bad luck running the latest/greatest of anything. So now I only upgrade when I need to. -d On Dec 16, 6:23 am, shabda wrote: > Django registration has moved from googlecode to Bitbucket, which > means my projects which are svn:ex

Re: Anyone maintaining a Svn repo for django-registration?

2008-12-16 Thread James Bennett
On Tue, Dec 16, 2008 at 8:23 AM, shabda wrote: > Django registration has moved from googlecode to Bitbucket, which > means my projects which are svn:externaled to django-registration > might not get the latest code. Is anyone maintaining an svn repository > which is I can svn:exter

Anyone maintaining a Svn repo for django-registration?

2008-12-16 Thread shabda
Django registration has moved from googlecode to Bitbucket, which means my projects which are svn:externaled to django-registration might not get the latest code. Is anyone maintaining an svn repository which is I can svn:external to? --~--~-~--~~~---~--~~ You

Re: user-registration

2008-11-12 Thread Steve Holden
Maximus007 wrote: > Hi guys, > I am not able to change any of the file > ("views.py,""form.py,""models.py","urls.py") in user registration > module which I have installed in Python's sitepackages.It is giving me > permission denied msg

Re: user-registration

2008-11-12 Thread Alex S.
Hi, I'm not exactly getting your problem. If you can't import the module registration something went wrong in the installation. I don't get why you want to change the code of the application. The application works like a charm (once correct installed). Maybe you should read the do

user-registration

2008-11-12 Thread Maximus007
Hi guys, I am not able to change any of the file ("views.py,""form.py,""models.py","urls.py") in user registration module which I have installed in Python's sitepackages.It is giving me permission denied msg. I have to use email id as an username inst

Re: question(s) about django-registration, default user profiles and django-profiles

2008-11-11 Thread Steve Holden
Alex S. wrote: > hi there, > > i want to use django-profiles to save some additional data for each > user. so i created the needed profile model and set it in my settings > file. after some looking over the standard user model i found fields > for first- and lastname. i need that data in my profil

Re: question(s) about django-registration, default user profiles and django-profiles

2008-11-11 Thread Alex S.
Thanks! regards Alex On 11 Nov., 16:16, Steve Holden <[EMAIL PROTECTED]> wrote: > Alex S. wrote: > > hi there, > > > i want to use django-profiles to save some additional data for each > > user. so i created the needed profile model and set it in my settings > > file. after some looking over the

question(s) about django-registration, default user profiles and django-profiles

2008-11-11 Thread Alex S.
hi there, i want to use django-profiles to save some additional data for each user. so i created the needed profile model and set it in my settings file. after some looking over the standard user model i found fields for first- and lastname. i need that data in my profiles and really would not li

Re: Registration - adding first_name and last_name to form.

2008-10-11 Thread Karen Tracey
On Sat, Oct 11, 2008 at 4:39 AM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > These lines in forms.py > --- > 92. new_user = > > RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'], > 93. pass

Re: Registration - adding first_name and last_name to form.

2008-10-11 Thread NoviceSortOf
These lines in forms.py --- 92. new_user = RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'], 93. password=self.cleaned_data['password1'], 94. first_name=self.cleaned_data['first_name'],

Re: Registration - adding first_name and last_name to form.

2008-10-10 Thread Karen Tracey
On Fri, Oct 10, 2008 at 4:02 PM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > > I'm trying to add first_name and last_name to the registration form. > > Under class RegistrationForm(forms.Form) > > I add > > fir

Registration - adding first_name and last_name to form.

2008-10-10 Thread NoviceSortOf
I'm trying to add first_name and last_name to the registration form. Under class RegistrationForm(forms.Form) I add first_name = forms.RegexField(regex=r'^\w+$', max_length=30, widget=forms.TextInput(attrs=attrs_dict),

Re: Django-Registration and NewForms Error

2008-10-08 Thread Chris Spencer
Thanks guys, that fixed the problem. On Wed, Oct 8, 2008 at 6:37 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > > Rishabh Manocha wrote: >> On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> >>

Re: Django-Registration and NewForms Error

2008-10-08 Thread Steve Holden
Rishabh Manocha wrote: > On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > I installed django-registration via easy_install, and followed the > directions for setting it up in my app, but when I go to /r

Re: looking for event registration/calendar modules

2008-10-08 Thread KillaBee
On Sep 11, 5:39 pm, cjl <[EMAIL PROTECTED]> wrote: > Probably not exactly what you are looking for, but check out: > > https://pycon.coderanger.net/ > > -cjlesh that 129 snippest didnt work for me. I just put the top in the view and the bottom as a template. I get this, can anybody tell me what

Re: Django-Registration and NewForms Error

2008-10-08 Thread Rishabh Manocha
On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED]> wrote: > > I installed django-registration via easy_install, and followed the > directions for setting it up in my app, but when I go to /register, I > get the error: > > File "/usr/lib/python2.5/site-pac

Django-Registration and NewForms Error

2008-10-08 Thread Chris
I installed django-registration via easy_install, and followed the directions for setting it up in my app, but when I go to /register, I get the error: File "/usr/lib/python2.5/site-packages/django_registration-0.5- py2.5.egg/registration/views.py", line 12, in File "/us

modelformset_factory or formset_factory for registration form that writes to two models?

2008-09-18 Thread MrJogo
Hi, I want to make a registration form that writes to two models: User and a custom Preferences. It seems that model formsets would be the best way to do that, but all the documentation I can find seems to say that modelformset_factory gets associated with a queryset. If I want to create a new

Re: looking for event registration/calendar modules

2008-09-11 Thread cjl
Probably not exactly what you are looking for, but check out: https://pycon.coderanger.net/ -cjlesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: looking for event registration/calendar modules

2008-09-11 Thread coulix
Hi, There was a django calendar app but it is in 'rewriting' right now and will be released soon (from what i heard). For now i built mine based on this snippest http://www.djangosnippets.org/snippets/129/ Greg On Sep 11, 5:59 pm, Marcus <[EMAIL PROTECTED]> wrote: > Hi -- django newbie here put

looking for event registration/calendar modules

2008-09-11 Thread Marcus
Hi -- django newbie here putting together a site for a client who wants a calendar of events that users can register for. Before I build one I thought I'd check with the community to see if something similar already exists-- any suggestions? I think a general calendar model, or something that al

Re: registration module - log user in upon activation

2008-08-26 Thread Aaron Maxwell
tivate > > def activate(request, activation_key): > ''' > Wrapper around registration module's activate view, which logs in user > ''' > prior = RegistrationProfile.objects.get(activation_key=activation_key) > resp = activ

registration module - log user in upon activation

2008-08-26 Thread Aaron Maxwell
Hi all, I'm using django-registration 0.6 to handle user account creation: http://code.google.com/p/django-registration/ When the user activates their account (by following the activation link that they are emailed), what I'd like is for them to be logged in right away. As far as

Key error at password2 while doing custom validation with user registration form

2008-07-25 Thread tom17
This is how I solved it! my model is like this: class userForm(forms.Form): username = forms.CharField() display_name = forms.CharField() email_address = forms.EmailField() timezone = TimeZoneField() password1 = forms.CharField(widget=forms.PasswordInput)

Re: django-registration

2008-07-11 Thread Julien Phalip
django-registration uses the standard settings for sending emails. You need to use the following settings: EMAIL_USE_TLS (Set to True if using Gmail) EMAIL_HOST EMAIL_HOST_USER EMAIL_HOST_PASSWORD EMAIL_PORT More info is available here: http://www.djangoproject.com/documentation/settings

django-registration

2008-07-11 Thread thomas schreiber
Is there a reason emails aren't being sent when running this app on localhost? Is there more that needs to be done to get the email sending part working other then what is included with django- registration? I'll come back to it later today. T

Re: django-registration with my custom user profile

2008-06-25 Thread pihentagy
Hi! I'm also trying to use django-registration. In my case the userprofile is mandatory, so I should create my own form. However, I would like to use ModelForms for the UserProfile part, but I should also provide room to enter username, and password. (and I also would like to store addit

Re: django-registration with my custom user profile

2008-06-19 Thread pihentagy
You didn't provide the 'dob' parameter. On Jun 13, 12:02 pm, Chr1s <[EMAIL PROTECTED]> wrote: > Hi thanks for your replay, > It is the second situation, I re-write the form.py like this > > class RegistrationForm(forms.Form): >   (other stuff  ) > def save(self, profile_callback=None

Re: django-registration with my custom user profile

2008-06-13 Thread Chr1s
any help:? On Jun 13, 6:02 pm, Chr1s <[EMAIL PROTECTED]> wrote: > Hi thanks for your replay, > It is the second situation, I re-write the form.py like this > > class RegistrationForm(forms.Form): >   (other stuff  ) > def save(self, profile_callback=None): > >         new_user = > Re

registration with mandatory profile

2008-06-13 Thread pihentagy
Hi all! I need an app, which registers users but also forces user to fill out a profile. I found the link below, but it seems to me, that django-profile will not send email, and with django-registration I cannot force users to fill out a profile (I would like to use ModelForm for this) So what

Re: django-registration with my custom user profile

2008-06-13 Thread Chr1s
Hi thanks for your replay, It is the second situation, I re-write the form.py like this class RegistrationForm(forms.Form): (other stuff ) def save(self, profile_callback=None): new_user = RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['userna

django-registration with my custom user profile

2008-06-13 Thread Chr1s
Hi guys I am newbie for django, today I tried django-registration, in the source code it said that --- To enable creation of a custom user profile along with the ``User`` (e.g., the model specified

Re: django-registration with my custom user profile

2008-06-13 Thread James Bennett
2008/6/13 Chr1s <[EMAIL PROTECTED]>: > But still I don't know how to implement this, anyone could give me a > simple example? thanks very much This feature is intended for a situation where each of the following is true: 1. You have a custom user-profile model. 2. The user-profile model has been

django-registration with my custom user profile

2008-06-13 Thread Chr1s
Hi guys, I tried django-registration 0.5 today, it is powerful indeed, but I have a site-specific user profile just like this writen in my model.py class Userdetail(models.Model): user = models.ForeignKey(User, primary_key = True) # nickname = models.CharField(max_length=30) DOB

<    3   4   5   6   7   8   9   10   >