Skip to content

Commit

Permalink
Removing an edge case in community
Browse files Browse the repository at this point in the history
  • Loading branch information
mistressAlisi committed Mar 15, 2023
1 parent 7b1f706 commit 00a099c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion almanac/public_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def almanac_home(request):
enable_admin = False
request.session['community'] = str(community.uuid)
try:
almanac_page = AlmanacPage.objects.get(page_id='community_index_page')
almanac_page = AlmanacPage.objects.get(page_id='community_index_page',community=community)
almanac_page_text = AlmanacPageText.objects.get(page=almanac_page,current=True)
except AlmanacPage.DoesNotExist as e:
almanac_page = False
Expand Down

0 comments on commit 00a099c

Please sign in to comment.