Websex without regestration - Database updating


The Django developers believe this is a violation of the DRY (Don’t Repeat Yourself) principle, so Django only requires you to define the relationship on one end.

If the related models haven’t been imported yet, Django keeps tracks of the relationships and adds them when the related models eventually are imported.

For this reason, it’s particularly important that all the models you’re using be defined in applications listed in Queries involving related objects follow the same rules as queries involving normal value fields.

Every addition, creation and deletion is immediately and automatically saved to the database.

Both ends of a many-to-many relationship get automatic API access to the other end.

The API works similar to a “backward” one-to-many relationship, above.