Don't register the create event to the instance

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-07-01 15:45:15 -04:00
parent f9e539f25c
commit a8fcc862f1

View File

@@ -57,9 +57,7 @@ class LinkingApp(MayanAppConfig):
SmartLinkCondition = self.get_model(model_name='SmartLinkCondition')
ModelEventType.register(
event_types=(
event_smart_link_created, event_smart_link_edited
), model=SmartLink
event_types=(event_smart_link_edited,), model=SmartLink
)
ModelPermission.register(