Greetings, my django app has to read values from 2 external tables: - the first table (log) is a sort of log, with many fields. some of these fields are digit coded (i.e.: 0 = input, 1 = output etc). The keys for the fields lay in the second table; - the second table (codes) is composed of an auto_increment key, the name of a field (relative to table log), the value of a field and the description in english of the value.
I already created models from these two tables using manage.py inspectdb (I am using django 1.2). The objects of django representing the rows should be readonly (django acts as a front-end). Is there a way (maybe redefining a method in django.db.models.Model) to return the objects representing rows of table 1, already explicited with the related descriptions of table codes? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.