Ticket #11194: db.models.base.patch

File db.models.base.patch, 362 bytes (added by wardi, 15 years ago)

patch to define record_exists in all cases

  • base.py

    old new  
    445445            if meta.proxy:
    446446                return
    447447
     448        record_exists = False
    448449        if not meta.proxy:
    449450            non_pks = [f for f in meta.local_fields if not f.primary_key]
    450451
Back to Top