mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Add index to search function
This commit is contained in:
@ -613,7 +613,6 @@ class SithFile(models.Model):
|
||||
self.copy_rights()
|
||||
|
||||
def apply_rights_recursively(self, only_folders=False):
|
||||
print(self)
|
||||
children = self.children.all()
|
||||
if only_folders:
|
||||
children = children.filter(is_folder=True)
|
||||
|
Reference in New Issue
Block a user