Hi,
I have a database where many tables links to a table that store 
reference data values.
Data from many "domains" are stored in a single reference data table.
The reference data table structure is something like this:
primary_key, domain_fkey, 
short_code,description,is_default_value,sort_order.
It's used in the application as a way to fill combo boxes with reference 
data that can be selected.
This is also used as a way to avoid too many tables with the same structure.

How can I do something similar in Django ?

I'm not sure that the admin site is compatible with that kind of table 
linked from many other tables
(especially for the related_name is there a way to avoid having to give 
a different related_name everytime I link a new table to this reference 
data table ?)

I would like to avoid having many short table of the same structure.

Does it is possible to make edit_inline use a combo box ?
Does it is possible to limit the selectable values to the one belonging 
to a particular domain ?

FR.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to