Changes between Version 11 and Version 12 of ModelSyntaxChangeInstructions


Ignore:
Timestamp:
Aug 26, 2005, 1:51:55 PM (19 years ago)
Author:
jmcbray@…
Comment:

Contributed a note on using ForeignKeys with the new Models.

Legend:

Unmodified
Added
Removed
Modified
  • ModelSyntaxChangeInstructions

    v11 v12  
    7373
    7474 * {{{module_constants}}} no longer works, even in {{{class META}}}.  Use {{{import}}} statements where needed instead.
     75 * When searching on a {{{ForeignKey}}} in {{{get_list()}}}, you no longer refer to {{{field_id}}}.  So, for example, instead of the old call {{{thingys.get_list(related_id__exact=x)}}}, you would now call {{{thingys.get_list(related__id__exact=x)}}}.
Back to Top