mirror of
https://github.com/hellosteadman/bambu-buffer.git
synced 2025-05-05 00:39:52 +00:00
Rename module_name to model_name
This commit is contained in:
parent
485dc6e3c5
commit
7102f3b901
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ def post_save_receiver(sender, instance, **kwargs):
|
||||||
|
|
||||||
name = m.pop(0)
|
name = m.pop(0)
|
||||||
app, model = name.lower().split('.')
|
app, model = name.lower().split('.')
|
||||||
if app != type(instance)._meta.app_label or model != instance._meta.module_name:
|
if app != type(instance)._meta.app_label or model != instance._meta.model_name:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if any(m):
|
if any(m):
|
||||||
|
|
Loading…
Reference in a new issue