#11369: verbose_name_plural not inherited if base class is abstract. --------------------------------------------------------+------------------- Reporter: Beetle_B | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.0 Keywords: verbose_name_plural, inheritance, abstract | Stage: Unreviewed Has_patch: 0 | --------------------------------------------------------+------------------- Perhaps this is desired behavior. However, I think the docs should mention this explicitly.
The situation where this arose is that I was creating a CategoryBase class (abstract), which was a bit barebones. I then subclassed this to get a number of derived classes (all abstract as well) - because I have different use cases (some need an HTML description, which will be formatted using Textile or Markdown, etc). Then for one particular app, I needed one of these, so I subclassed (without making it an abstract class). I had set verbose_name_plural in the Meta of the original CategoryBase class. This did not get inherited... In summary: CategoryBase --> CategoryMarkup --> Category where all but Category were abstract classes. Anyway, I'm not arguing it should be inherited - will leave that up to you to decide. I just feel that if it isn't, it should be reflected in the docs for abstract base classes. -- Ticket URL: <http://code.djangoproject.com/ticket/11369> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---