Changes between Version 98 and Version 99 of RemovingTheMagic


Ignore:
Timestamp:
Apr 10, 2006, 8:10:38 PM (18 years ago)
Author:
Adrian Holovaty
Comment:

Corrected a mistake introduced in version 98.

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v98 v99  
    462462|| ("values" lookup, etc., not previously possible)        || {{{reporter_obj.article_set.values()}}} ||
    463463|| '''Many-to-many related lookup'''                       ||                         ||
    464 || {{{article_obj.get_sites_list()}}}                            || {{{article_obj.sites.all()}}} ||
     464|| {{{article_obj.get_site_list()}}}                            || {{{article_obj.sites.all()}}} ||
    465465|| {{{article_obj.set_sites([s1.id, s2.id])}}}                   || {{{article_obj.sites.clear(); article_obj.sites.add(s1); article_obj.sites.add(s2)}}} ||
    466466|| {{{article_obj.set_sites([s1.id]) # deletion}}}               || {{{article_obj.sites.remove(s2)}}} ||
     
    709709#!python
    710710from django.forms import FormWrapper
     711
    711712from PROJECT.APP.models import MODELNAME
    712713...
Back to Top