mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			404 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			404 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Copyright (C) 2018-2025 by BDE ENS Paris-Saclay
 | 
						|
# SPDX-License-Identifier: GPL-3.0-or-later
 | 
						|
 | 
						|
from django.apps import AppConfig
 | 
						|
from django.db.models.signals import pre_save, pre_delete
 | 
						|
 | 
						|
 | 
						|
class PermissionConfig(AppConfig):
 | 
						|
    name = 'permission'
 | 
						|
 | 
						|
    def ready(self):
 | 
						|
        from . import signals
 | 
						|
        pre_save.connect(signals.pre_save_object)
 | 
						|
        pre_delete.connect(signals.pre_delete_object)
 |