Dear Friends,I want to develop a django based GIS web application. In my application there are different levels of users namely station level user, circle level user etc. Each user details are provided in different table, How can I map/ relate the user with these tables. Pleas help me to solve this issue.
Thank you Scot Hacker.But my application needs more than one user from the same group.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5750f591-276b-49da-bfc5-61c4d0a51f07%40googlegroups.com.--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
Actually my application needs to store different information about each group of users and needs to map these data with the auth_user table.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a5cb2cdb-3064-48ff-bebd-88ac90bce602%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a47d856c-3fc4-4f14-b629-1c2287249545%40googlegroups.com.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cc35830e-471f-45f6-8011-90dbde2abb7d%40googlegroups.com.
W wc
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7a86fcaf-0043-4a48-b3d4-401ba2adb8b8%40googlegroups.com.
Actually I can't change the models of the different user details (state_data,district_data,dub-division_data,circle_data,station_data) because these tables are used for other GIS activities.I need to map user with these tables.
We can't modify the 5 user details tables, because the other applications are associated with that table. It is required to map these table with user table. But using the foreign key relationship we can only relate to one table. How can I design models without affecting the 5 tables mentioned.