Code

Changes between Version 50 and Version 51 of NewformsHOWTO


Ignore:
Timestamp:
09/13/08 14:23:58 (6 years ago)
Author:
mwdiers
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v50 v51  
    723723            #Grab the current site id from the URL. 
    724724            my_choices.extend(Page.objects.filter(site=self.request.META['PATH_INFO'].split('/')[-2]).values_list('id','name')) 
    725             print my_choices 
    726725            field.choices = my_choices 
    727726        return field