#3591: add support for custom app_label and verbose_name ----------------------------------------+----------------------------------- Reporter: jkocherhans | Owner: adrian Status: reopened | Milestone: Component: Core framework | Version: SVN Resolution: | Keywords: Stage: Fixed on a branch | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------+----------------------------------- Comment (by bendavis78):
Does it make sense to allow the overriding of app_label? It seems app_label should only be used internally by django to differentiate between apps. I'm not sure where the need is for overriding app_label in the first place. Wouldn't something like this be enough? {{{ #!python INSTALLED_APPS = ( 'some.foo.app', app('another.app', name='My App'), ) }}} That way models can be grouped together by ''name'' in the admin. One reason I have a need for this is we have a blog app called "zinnia" installed, which has models called "Entries". It uses the django-comments app, which puts all of its models under "comments". Ideally, I should have in the admin an app area called "Blog", with models for "Entries" and "Comments", even though those models live in different apps. -- Ticket URL: <http://code.djangoproject.com/ticket/3591#comment:90> 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.