Django

Code

Changeset 1424

Show
Ignore:
Timestamp:
11/24/05 20:52:55 (3 years ago)
Author:
adrian
Message:

new-admin: Negligible spacing change in d.c.m.init

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/new-admin/django/core/meta/__init__.py

    r1413 r1424  
    18261826     obj = change and self.original_object or None 
    18271827     for f in opts.get_data_holders(self.follow): 
    1828             fol = self.follow.get(f.name) 
    1829             new_data.update(f.flatten_data(fol, obj)) 
     1828        fol = self.follow.get(f.name) 
     1829        new_data.update(f.flatten_data(fol, obj)) 
    18301830     return new_data 
    18311831 
    18321832def manipulator_validator_unique_together(field_name_list, opts, self, field_data, all_data): 
    18331833    from django.utils.text import get_text_list 
    1834  
    18351834    field_list = [opts.get_field(field_name) for field_name in field_name_list] 
    18361835    if isinstance(field_list[0].rel, ManyToOne): 
     
    18391838        kwargs = {'%s__iexact' % field_name_list[0]: field_data} 
    18401839    for f in field_list[1:]: 
    1841         # This is really not going to work for fields that have different form fields, eg DateTime 
     1840        # This is really not going to work for fields that have different 
     1841        # form fields, e.g. DateTime. 
    18421842        # This validation needs to occur after html2python to be effective. 
    18431843        field_val = all_data.get(f.attname, None)