def kontakt(): """ test method to create an article """ temp = Article(group='fotos', categories=['*', 'produkte'], title='test title') temp.text = '''some **markdown** text with breaks and new lines''' temp.put() return render_template('index.html', content="article put")
def kontakt(): """ test method to create an article """ temp = Article(group='fotos', categories=['*','produkte'], title='test title') temp.text = '''some **markdown** text with breaks and new lines''' temp.put() return render_template('index.html', content="article put")
def preise(): temp = Article.query(Article.group == 'fotos', Article.categories == '*').fetch(1) return render_template('index.html', content=markdown.markdown(temp[0].text))
def preise(): temp = Article.query(Article.group=='fotos', Article.categories=='*').fetch(1) return render_template('index.html', content=markdown.markdown(temp[0].text))