I want to manage a dictionary inline over the admin interface. These are my models. What I got working is of course a separated management of request and dictionary. But I want to add key value pairs in the request admin interface with a TabularInline. Do I have to skip the dictionary in some way or what do I have to do?
class Dictionary(models.Model): name = models.CharField(max_length=255) class KeyValuePair(models.Model): container = models.ForeignKey(Dictionary, db_index=True) key = models.CharField(max_length=240, db_index=True) value = models.CharField(max_length=240, db_index=True) class Request(models.Model): params = models.ForeignKey(Dictionary, related_name="params_map", blank=True, null=True) -- 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+unsubscr...@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/f57a2c01-95c1-4fdc-9a9c-3ed4000c0453%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.