Hi, I have a table with the following columns: code, location, description. The code uniquely identifies the goods. The description is related to the location. You can think about a state as the location. I like the view produced via admin -- like this: Code Location Description [ ] 0001 US Funny thing [ ] 0001 GB Toy of the year [ ] 0001 CZ Pekelne draha hracka [ ] 0002 US Sad thing [ ] 0002 GB Funeral gadget [ ] 0002 CZ Na co je totok? I would like to produce something similar but I want to consider the records with the same code being details of one record. I want to keep them separated because the number of locations may differ for each code (here three for 0001 and three for 0002). How can I reuse the admin.ModelAdmin and the related view to display something like: Code Location Description [ ] 0001 US Funny thing GB Toy of the year CZ Pekelne draha hracka [ ] 0002 US Sad thing GB Funeral gadget CZ Na co je totok? When clicking on the code, I would like to get anoher page -- details for the code but with the list for all locations. I would like to add/change/delete locations for the code.
I tried the tutorial, and I like it, but it is too much of new things for me. Thanks for your help and experience, Petr P.S. I want later to add a special location code (XX or whatever) that would express something like consolidated description that should be prefered at each location, then the first admin list would contain only the code and description with possibly some GUI element to expand. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.