add some tests
This commit is contained in:
parent
cc7fa1b433
commit
8a4cda7f58
6 changed files with 15 additions and 11 deletions
|
@ -1,10 +1,12 @@
|
|||
import sys
|
||||
if 'threading' in sys.modules:
|
||||
del sys.modules['threading']
|
||||
|
||||
# Monkey patch stdlib.
|
||||
import gevent.monkey
|
||||
gevent.monkey.patch_all(aggressive=False, subprocess=True)
|
||||
|
||||
# Set default encoding to UTF-8
|
||||
import sys
|
||||
|
||||
reload(sys)
|
||||
# noinspection PyUnresolvedReferences
|
||||
sys.setdefaultencoding('utf-8')
|
||||
|
|
|
@ -16,11 +16,10 @@
|
|||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="page-content" style="display:none">
|
||||
{{ page.data }}
|
||||
</div>
|
||||
<div id="page-content"></div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
<script>
|
||||
$(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue