merge P5-567

This commit is contained in:
Joakim Lundell
2016-08-01 13:16:12 +02:00
parent 4c8c35f298
commit 9dbee8ca2c
8 changed files with 343 additions and 2 deletions
+2 -1
View File
@@ -30,10 +30,11 @@ def create_app(config_name='config'):
return response
# register resources
from api.resources import server, designers, categories
from api.resources import server, designers, categories, prices
app.register_blueprint(server.mod)
app.register_blueprint(designers.mod)
app.register_blueprint(categories.mod)
app.register_blueprint(prices.mod)
# authentication
app.before_request(check_api_key)