Code

Changes between Version 6 and Version 7 of NewformsHOWTO


Ignore:
Timestamp:
02/17/08 17:54:26 (6 years ago)
Author:
jarrow
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v6 v7  
    424424== Q: Where did prepopulate_from go? My SlugFields don't work! == 
    425425A: There's no longer a 'prepopulate_from' option on database Field classes. Instead, there's a new 'prepopulated_fields' option for your options class. This should be a dictionary mapping field names (as strings) to lists/tuples of field names that prepopulate them 
     426 
     427== Q: What happened to filter_interface? == 
     428 
     429A: Use 'filter_vertical' and 'filter_horizontal' on the Options class like so. 
     430E.g. 
     431{{{ 
     432#!python 
     433class MyModelOptions(admin.ModelAdmin): 
     434    filter_horizontal = ('some_field',) 
     435}}}