Design help

2011-03-23 Thread Ajay
Hi all, I have a flow which I am not sure how to design with maximum reuse of existing apps/features. Flow :- 1) A non registered user comes and uploads his profile - (NOTE - there is no user sign up form,only profile upload form). 2) Admin comes , approves the profile, edits it if he wants and

Re: Multiple different user profile objects - Django code design help

2009-02-20 Thread Gok Mop
On Feb 20, 6:07 am, Beres Botond wrote: > To be honest I don't really see why you would need multiple user > profile models, > instead of having one user profile model, and each entry would define > a different > user profile. What do you mean by "one user profile model, and

Re: Multiple different user profile objects - Django code design help

2009-02-20 Thread Beres Botond
To be honest I don't really see why you would need multiple user profile models, instead of having one user profile model, and each entry would define a different user profile. Of course I don't know the full details/requirementes of your project, and what exactly you are trying to do ... but I

Re: Multiple different user profile objects - Django code design help

2009-02-19 Thread Gok Mop
On Feb 19, 6:39 pm, Andrew Ingram wrote: > Simplest solution : don't worry about the AUTH_PROFILE_MODULE setting. > > I'm working on a site with numerous modules that contain user account > information, such as orders and newsletter preferences. I just have a > foreignkey

Re: Multiple different user profile objects - Django code design help

2009-02-19 Thread Malcolm Tredinnick
On Thu, 2009-02-19 at 14:53 -0800, Gok Mop wrote: > I'm struggling with how to design something, and I'm pretty sure > somebody has an easy solution. > > I need to store different information about different classes of > users. I want to attach those classes as the user profile to my >

Re: Multiple different user profile objects - Django code design help

2009-02-19 Thread Andrew Ingram
Simplest solution : don't worry about the AUTH_PROFILE_MODULE setting. I'm working on a site with numerous modules that contain user account information, such as orders and newsletter preferences. I just have a foreignkey to the auth User on each of these, eg: class

Multiple different user profile objects - Django code design help

2009-02-19 Thread Gok Mop
I'm struggling with how to design something, and I'm pretty sure somebody has an easy solution. I need to store different information about different classes of users. I want to attach those classes as the user profile to my django.contrib.auth.User object, so I can always cross-walk from the

Re: Model design help

2007-07-28 Thread James Bennett
On 7/28/07, Cole Tuininga <[EMAIL PROTECTED]> wrote: > I could do something like a simple many to many relationship in the > attendee model, but that doesn't indicate ordering (most preferred to > least preferred) per timeslot. You might want to look at thisL

Re: Model design help

2007-07-28 Thread oggie rob
When you use a ManyToMany field, a "private" table (not tied to a model like other tables) is created in the database with something like the following (created via the contrib.auth.User's user_permissions field: id, user_id, permission_id If you wanted to create your own table that mirrors this

Model design help

2007-07-28 Thread Cole Tuininga
Hey all - I was hoping I could solicit some help with a model design. I'm using 0.96 rather than the svn version at the moment. I'm working on a website for my wife that is intended to help with taking registrations for a conference. The idea is that each workshop in the conference has a