Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. @app.route('/signup/<string:plan>')
  2. def signup(plan):
  3.     if not plan in ['starter', 'basic', 'professional', 'executive']:
  4.         template = env.get_template('404.html')
  5.         return template.render()
  6.     template = env.get_template('signup.html')
  7.     return template.render(plan=plan)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement