Code

Changes between Version 16 and Version 17 of DjangoDesign


Ignore:
Timestamp:
02/08/10 22:17:19 (4 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoDesign

    v16 v17  
    2323Raw Foreign Keys and Raw m2m widgets work, but provide poor UI feedback. Ticket #7028 proposes to fix this, and has a draft patch.  #9976 also contains a patch. 
    2424 
     25=== Remove hardcoded stuff === 
     26 
     27There´s lots of unnecessary hardcoded elements with the Admin which makes it hard to customize. Some examples:[[BR]] 
     28http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/widgets.py#L126 (hardcoded image)[[BR]] 
     29http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/widgets.py#L95 (template/widget instead)[[BR]] 
     30http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py#L650 (move to template)[[BR]] 
     31http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/widgets.py#L238 (hardcoded image, including width and height, this should go to CSS)[[BR]] 
     32IMO, getting rid of almost all hardcoded elements is the base for a more extensible, customizable and easier to change/adapt interface (PK). 
     33 
    2534== Big Ideas == 
    2635