﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3591	add support for custom app_label and verbose_name	jkocherhans	Adrian Holovaty	"Once the hot club of france opens and we have more third party apps, the probability of clashing app names will increase. We can fix this by allowing users to define a custom app_label in their settings file. In addition, we can add a verbose_name for apps at the same time. The patch here also correctly assigns and app_label to models in a package as long as you import all of those models in the packages {{{__init__.py}}} This possible breaks quite a few internals if people are using them, and needs to wait until after 0.96 to be considered.

Here's an example:

{{{
#!python

from django.conf.directives import app

INSTALLED_APPS = (
    'django.contrib.auth', # allow the old syntax
    app('mypkg.auth', 'myauth', 'My cool auth app'), # and the new. (path, app_label, verbose_name)
)
}}}

Originally discussed in [http://groups.google.com/group/django-developers/browse_thread/thread/7197d27127494ee2/f10d34ebd266fbe2?lnk=gst&q=apps+same+name&rnum=1#f10d34ebd266fbe2 this thread]"	New feature	closed	Core (Other)	dev	Normal	fixed	app-loading	dirleyrls domen@… Mike Scott robillard.etienne@… akaihol+django@… tom@… v.oostveen@… dave.lowe@… research@… semente@… gonz@… ega641@… mocksoul@… hv@… lidaobing@… remco@… s.angel@… drackett@… gabor@… seocam@… django@… mbeachy@… camillobruni@… andy@… bronger@… mike@… the.paper.men@… mmitar@… Chris Chambers aljosa.mohorovic@… sehmaschine@… bendavis78@… Jari Pennanen mathijs@… basti@… JMagnusson sfllaw@… mgventura nils@… carlos.palol@… sebastian.goll@… ionel.mc@… aav danols@… Sander Steffann pshields@… flisky jakub@… albrecht.andi@… JonathanBarratt marc.tamlyn@… flavio.curella@… 4glitch@… luc.saffre@… zachborboa+django@… vlastimil@… django@… akanouras unpig ua_django_bugzilla@… someuniquename@… Daniel Finch	Accepted	0	0	0	0	0	0
