File: signals.py

package info (click to toggle)
django-model-utils 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 552 kB
  • sloc: python: 3,438; makefile: 181
file content (6 lines) | stat: -rw-r--r-- 177 bytes parent folder | download
1
2
3
4
5
6
def pre_save_test(instance, *args, **kwargs):
    instance.pre_save_runned = True


def post_save_test(instance, created, *args, **kwargs):
    instance.post_save_runned = True