#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 Ciantic):

 Okay I think I found something from the branch. There will be App class
 for each app. This is a good thing, the verbose_name and app_label will be
 defined ''inside the app'', which is the right thing to do. See the
 [http://code.djangoproject.com/browser/django/branches/soc2010/app-
 loading/django/core/apps.py apps.py in GSoC 2010 branch] which allowes one
 to define verbose_name etc. Basically like defining new App class for each
 app in `__init__.py` or anywhere for that matter. After which the
 INSTALLED_APPS is just list of App classes.

 Btw it would be helpful if there were a README or something considering
 the branch, so one would know what and how the branch proposes to
 implement the feautre. Now I just "luckily" guessed the place for this
 `apps.py`.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3591#comment:92>
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.

Reply via email to