home / django_tickets / tickets

tickets: 8825

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8825 2008-09-03 01:57:18 2011-09-28 16:12:17 2022-03-06 03:43:16.057338 Accepted closed contrib.admin     dev fixed Inherited ManyToMany-fields does not appear in edit forms Since revision [8855], inherited ManyToMany-fields does not appear in edit forms on the admin site. Example {{{models.py}}}: {{{ from django.db import models from django.contrib import admin class Person(models.Model): name = models.CharField(max_length=64, blank=True, null=True) class BaseClass(models.Model): person = models.ManyToManyField(Person, related_name="%(class)s_person", blank=True, null=True) text = models.CharField(max_length=64, blank=True, null=True) class InheritedClass(BaseClass): status = models.CharField(max_length=64, blank=True, null=True) admin.site.register(InheritedClass) }}} In the example above, the {{{person}}} field will appear in [8854], but disappear in [8855]. nobody Christofer Bernander <nospam@bernander.net> ManyToMany inheritance new_fields 0 1 0 0 0 0
Powered by Datasette · Queries took 1.524ms