# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1468848070 -28800
# Node ID 58a14a6318d16992fd2a45128ab57442f3eb7d1a
# Parent  5e7f52c8da366518b9ffeb8dd503922d18393a3e
fruitbar: don't import from flask.ext (preparing for Flask 0.11+)

diff -r 5e7f52c8da36 -r 58a14a6318d1 app.py
--- a/app.py	Mon Jul 18 21:16:47 2016 +0800
+++ b/app.py	Mon Jul 18 21:21:10 2016 +0800
@@ -4,8 +4,8 @@
 import os
 
 from flask import Flask, g, render_template
-from flask.ext.assets import Environment
-from flask.ext.restful import Api
+from flask_assets import Environment
+from flask_restful import Api
 from CodernityDB.database_thread_safe import ThreadSafeDatabase
 
 from fruitbar.indexes import ProjectIndex, TaskIndex
diff -r 5e7f52c8da36 -r 58a14a6318d1 fruitbar/crud.py
--- a/fruitbar/crud.py	Mon Jul 18 21:16:47 2016 +0800
+++ b/fruitbar/crud.py	Mon Jul 18 21:21:10 2016 +0800
@@ -1,7 +1,7 @@
 #-*- coding:utf-8 -*-
 
 from flask import g, request
-from flask.ext.restful import Resource
+from flask_restful import Resource
 from CodernityDB.database import RecordNotFound, RecordDeleted