Skip to content

Commit

Permalink
DBC22-1261: cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd committed Nov 27, 2023
1 parent e6976ac commit a9ff8c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/backend/apps/cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ def save(self, *args, **kwargs):
# Editor panels configuration
content_panels = [
FieldPanel("title"),
# FieldPanel("url"),
FieldPanel("image"),
# FieldPanel("location", widget=DriveBCMapWidget),
FieldPanel("description"),
FieldPanel("seasonal_description"),
FieldPanel("service_hours"),
Expand Down
2 changes: 1 addition & 1 deletion src/backend/apps/cms/tests/test_advisory_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def setUp(self):

def test_advisory_list_caching(self):
# Empty cache
assert cache.get(CacheKey.EVENT_LIST) is None
assert cache.get(CacheKey.ADVISORY_LIST) is None

# Cache miss
url = "/api/cms/advisories/"
Expand Down

0 comments on commit a9ff8c8

Please sign in to comment.