diff --git a/wortschlucker/templates/static_test.html b/wortschlucker/templates/static_test.html new file mode 100644 index 0000000..6296dfd --- /dev/null +++ b/wortschlucker/templates/static_test.html @@ -0,0 +1,14 @@ + + + + + + Static example + + +

Foo

+ + + diff --git a/wortschlucker/wortschlucker.py b/wortschlucker/wortschlucker.py index dee21dd..a634498 100755 --- a/wortschlucker/wortschlucker.py +++ b/wortschlucker/wortschlucker.py @@ -314,6 +314,10 @@ def show_one_poll(poll_hash=None): else: return bobo.redirect(BASE_DICT["base_url"]) +@bobo.query('/static/:pagename') +def show_static(pagename=None): + value_dict = get_default_values() + return render(pagename, **value_dict) for table in (Poll, ContentSubmission, PollSetting): #Poll.dropTable()