#13146: Remove hardcoded stuff in contrib.admin
----------------------------------+-----------------------------------------
 Reporter:  utku                  |       Owner:  utku      
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.1       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 There're lots of unnecessary hardcoded elements with the Admin which makes
 it hard to customize. Some examples:[[BR]]


 
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/widgets.py#L126
 (hardcoded image)[[BR]]
 
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/widgets.py#L95
 (template/widget instead)[[BR]]
 
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py#L650
 (move to template)[[BR]]
 
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/widgets.py#L238
 (hardcoded image, including width and height, this should go to CSS)

 IMO, getting rid of almost all hardcoded elements is the base for a more
 extensible, customizable and easier to change/adapt interface (PK).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13146>
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-upda...@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