Skip to content

Commit

Permalink
Fixed using database in apps file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Theophile-Madet committed Sep 11, 2023
1 parent 4e4d260 commit 3a0cebb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tapir/shifts/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@
)
from tapir.core.config import sidebar_link_groups
from tapir.settings import PERMISSION_SHIFTS_MANAGE
from tapir.shifts import config


class ShiftConfig(AppConfig):
name = "tapir.shifts"

def ready(self):
from tapir.core.models import FeatureFlag

FeatureFlag.ensure_flag_exists(config.FEATURE_FLAG_NAME_FROZEN_MEMBERS)

self.register_sidebar_links()
self.register_emails()

Expand Down

0 comments on commit 3a0cebb

Please sign in to comment.