Saturday, November 29, 2014

Re: Multiple levels of user in django application

On Saturday, November 29, 2014 8:49:25 AM UTC-8, Anju SB wrote:

Thank your for your reply.  Actually I created another model that aggregates all the values from each group table.  but after analyzing I feel its a worst method and performance is also very low.So model re-design is the only way to sort out this issue and need  help for redesigning the models.  Because I want to add users and map these users to group details from the admin page.  I am very confused state and I don't know how to re-design and optimize the queries.   

 
Django makes it easy to have multiple profile types with different sets of custom fields, and various permissions levels (roles). The admin does a good job of letting you add users to groups. I think you're going to have to spell out your problem/goals with more detail - we're not clear on exactly what's not working for you.  It might help (you and us) if you sketched out your desired model relationships with a charting tool or graphics program, or even as ascii art. 

./s

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2559036e-17fd-4664-9011-a2efd6a7d2ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment