Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
Use case-insensitive search on string fields.
Browse files Browse the repository at this point in the history
Depends on the case-insensitive search option added to sandman in
jeffknupp/sandman#113.

[Resolves #15]
  • Loading branch information
jmcarp committed Aug 6, 2015
1 parent c863f77 commit 9585c31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def serve(host='0.0.0.0', port=5000, debug=False):
from sandman import app
app.json_encoder = utils.APIJSONEncoder
app.config['SERVER_PORT'] = port
app.config['CASE_INSENSITIVE'] = True
app.config['SQLALCHEMY_DATABASE_URI'] = config.SQLA_URI
app.config['BASIC_AUTH_USERNAME'] = os.environ.get('AUTOAPI_ADMIN_USERNAME', '')
app.config['BASIC_AUTH_PASSWORD'] = os.environ.get('AUTOAPI_ADMIN_PASSWORD', '')
Expand Down

0 comments on commit 9585c31

Please sign in to comment.