mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-19 04:40:32 -05:00
8f3041f260
- Add cascade='all, delete-orphan' to the notes backref so client notes are removed when a client is deleted. - In test_client_has_notes_relationship use client.notes.count() instead of len(client.notes) since the backref uses lazy='dynamic'.