Skip to content

Commit

Permalink
Recreate menus on each Tenant save
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala committed Dec 20, 2024
1 parent f2127e5 commit c59515a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tenants/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,4 @@ def distinct_requests(request):
@receiver(post_save, sender=Tenant)
def generate_menus(sender, instance, created, **kwargs):
"""Generates a menu for new tenants"""
if created:
create_menus(instance)
create_menus(instance)

0 comments on commit c59515a

Please sign in to comment.