routes.py 200B

123456
  1. # -*- coding: utf-8 -*-
  2. def includeme(config):
  3. config.add_static_view('static', 'static', cache_max_age=3600)
  4. config.add_route('home', '/')
  5. config.add_route('test_config', '/test_config')