Skip to content

Commit 4d62005

Browse files
committed
chore: update settings
1 parent 7ec712e commit 4d62005

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

config/settings.py

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,22 @@
215215
}
216216
}
217217

218-
# Build directory for bakery
219-
BUILD_DIR = BASE_DIR / "build"
220-
BAKERY_VIEWS = ("app.home.views.HomeView",)
218+
# Build directory for bakery (django-bakery expects a string path)
219+
BUILD_DIR = str(BASE_DIR / "build")
220+
BAKERY_VIEWS = (
221+
"app.home.views.HomeView",
222+
"app.home.views.CodeOfConductView",
223+
"app.home.views.PartnershipView",
224+
"app.home.views.TravelInfoView",
225+
"app.home.views.AidScholarshipsView",
226+
"app.home.views.CovidPolicyView",
227+
"app.home.views.DataPrivacyView",
228+
"app.home.views.EveryoneWhoCanPaysView",
229+
"app.home.views.PatronAcknowledgmentView",
230+
"app.home.views.ScheduleView",
231+
"app.home.views.VolunteersView",
232+
"app.home.views.MerchandiseView",
233+
)
221234

222235
# Whitenoise Configuration
223236
# https://whitenoise.readthedocs.io/en/latest/

0 commit comments

Comments
 (0)