flask - Where is settings.py supposed to be with Eve? -


i keep getting exception stating

domain dictionary missing or wrong. 

my folder structure looks this

. └──myapp    ├── app.py    ├── app.wsgi    └── settings.py 

so eve stating dictionary cannot found, though it's defined in settings file. i'm running app in virtualenv , have apache virtual host pointed wsgi file.

when ran problem (i have comment in thread mentioned @doru) problem domain definition.

unfortunately, there common error message both missing wrong domain definition.

i put import pdb;pdb.set_trace() in flaskapp.py\eve\__init__() here see call validate_domain_struct

this narrow down problem.

the file modify (temporarily) <path_to_virtualenv>/lib/python<version>/site-packages/eve/flaskapp.py

once done, remove debugger statements ;)


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -