Django ã® Signal ã£ã¦ä½¿ãé »åº¦ãå°ãªãã®ã§ã使ãã¨ãã«ã ãããå¿ãã¦ã¾ãããï¼ å¥éã§ãããèªåãã§ãã ä»å㯠ãã㪠Signal ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ããã ã·ã°ãã«ã¨ã¯ä½ããã®ã¤ãã³ããçºç«ããã¿ã¤ãã³ã°ã§ç»é²ããå¦ç(以ä¸ãã³ãã©ã¨ãã)ãå¼ã³åºãæ©è½ã§ãã infoå·çæã§ã®ææ°ãã¼ã¸ã§ã³ã使ãã¾ããPython 3.6Django: 2.0Sqlite3Eventsãã³ãã©ãå®ç¾©ãã¦ãã¾ããããããã¦å ã«èª¬æãã¾ãã ã·ã°ãã«ã¯ç¨éã«ãã£ã¦é ç½®ããã¦ããã¢ã¸ã¥ã¼ã«ãç°ãªãã®ã§ãã¢ã¸ã¥ã¼ã«ãã¹ãä¸å¿æ¸ãã¦ããã¾ãã (ãã¼ã¸ã§ã³ã«ãã£ã¦å¤ããå¯è½æ§ã¯ããã¾ã) åå説æã¢ã¸ã¥ã¼ã«ãã¹pre_save(対象)ã¢ãã«ã«å¯¾ããã¬ã³ã¼ã㮠追å or å¤æ´ ããã ç´ådjango.db.models.signals.pre_savepost_save(対象)ã¢ãã«ã«å¯¾ã
{{#tags}}- {{label}}
{{/tags}}