Changeset 1958


Ignore:
Timestamp:
08/22/07 23:37:07 (12 years ago)
Author:
pjotr
Message:

References #1496, that http stuff should not be added for empty field any more - still have to write a migration code that will remove the sideeffect for users that already got that

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FieldsWidgets.py

    r1937 r1958  
    129129            return empty_marker 
    130130        if field.getName() == 'home_page': 
    131             if not value.startswith('http://'): 
     131            if not value.startswith('http://') and value != '': 
    132132                value = 'http://' + value 
    133133        return value, {} 
Note: See TracChangeset for help on using the changeset viewer.