Skip to content

Commit

Permalink
Update dependencies and middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg committed Aug 23, 2023
1 parent 686f2f8 commit fb01fce
Show file tree
Hide file tree
Showing 3 changed files with 292 additions and 353 deletions.
2 changes: 1 addition & 1 deletion designsafe/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def process_request(self, request):
return None


class SiteMessageMiddleware:
class SiteMessageMiddleware(MiddlewareMixin):
def process_request(self, request):
for message in SiteMessage.objects.filter(display=True):
if settings.SITE_ID == 1:
Expand Down
Loading

0 comments on commit fb01fce

Please sign in to comment.