views.py 685 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env python
  2. # -*- coding=UTF-8 -*-
  3. # **************************************************************************
  4. # Copyright © 2016 jianglin
  5. # File Name: views.py
  6. # Author: jianglin
  7. # Email: xiyang0807@gmail.com
  8. # Created: 2016-07-10 22:49:18 (CST)
  9. # Last Update:星期五 2016-7-15 20:49:14 (CST)
  10. # By:
  11. # Description:
  12. # **************************************************************************
  13. from flask import Blueprint, render_template
  14. site = Blueprint('install',
  15. __name__,
  16. static_folder='static',
  17. template_folder='templates')
  18. @site.route('')
  19. def install():
  20. return render_template('install/start.html')