docker und requirements

This commit is contained in:
2021-05-30 19:28:43 +00:00
parent cb6c1ebe8c
commit 4fdfbc3eb2
5 changed files with 151 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ app.config.from_object(__name__)
app.logger.setLevel(logging.DEBUG)
flatpages = FlatPagesIndex(app)
flatpages_index.Links.endpoint="stuff.post"
flatpages_index.Links.endpoint="stuff.page"
flatpages_index.Links.url=(lambda s,x: url_for(s.endpoint, name=x))
#flatpages_index.Links.image_url=(lambda s,x: url_for('stuff.page', name=x))
flatpages_index.Links.file_url=(lambda s,x: url_for('stuff.page', name=x))