Hi Steven,

Thanks.

However. I am quite keen on Django-registration. I am not very sure about
oldforms. Let me see whether I can take some ideas from your code and
implement it in mine.

Ramdas

On Feb 10, 2008 6:14 PM, Steven Armstrong <[EMAIL PROTECTED]> wrote:

> Ramdas S wrote on 02/09/08 16:37:
> > Hi,
> >
> > I am using Django-registration. It works like a charm as far as
> registering
> > new users and validating them from potential bots. However, what is the
> best
> > practice as far as getting users to feed in more information.
> >
> > Currently in apps I have written, once someone clicks on activation key
> and
> > is account is activated, we ask the person to fill up a form, and thus
> > capture the data. The form is displayed in activate.html (as in the
> original
> > django-registration app .4x written by James Bennet). So 60% of users do
> > fill it up immdly.
> >
> > The form is connected to a model UserProfile, that stores all data from
> > address, telephone numbers and so on.
> >
> > Now I am writing an app, where we need to take certain calls based on
> the
> > User's profile, and then provide some offers everytime they log in.
> Hence it
> > is almost mandatory that we hook the user with his UserProfile, with a
> hook
> > in from AUTH_PROFILE_MODULE
> >
> > In such cases, somehow, I am not sure, whether this is the best method.
> Can
> > someone advise what is the best way to do?
> >
> > Do I create a separate model like UserProfile and capture data there
> much
> > the way I've done so far or is there a better practice.
> >
>
> If I understand you correctly you want to force users to fill out their
> profile.
>
> I do something similar, but without Django-registration. For that I've
> written my own login view (see attachment) that checks if the user has a
> profile. As long as he hasn't created one he always gets redirected to
> the 'fill out profile form' after login.
>
> hth
> Cheers
> Steven
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to