Skip to content

Instantly share code, notes, and snippets.

@alces
Created May 29, 2017 08:55
Show Gist options
  • Save alces/81ba9487c1ebb6b5410cf61ba074f4a5 to your computer and use it in GitHub Desktop.
Save alces/81ba9487c1ebb6b5410cf61ba074f4a5 to your computer and use it in GitHub Desktop.
Example of settings.py for Eve with disabled schema-checking and if-match concurrency control
ALLOW_UNKNOWN = True
DOMAIN = {'col01': {'schema': {}}}
IF_MATCH = False
ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']
MONGO_DBNAME = 'db01'
RESOURCE_METHODS = ['GET', 'POST', 'DELETE']
URL_PREFIX = 'api'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment