pyeve / eve-sqlalchemy

SQLAlchemy data layer for Eve-powered RESTful APIs
http://eve-sqlalchemy.readthedocs.io
Other
232 stars 70 forks source link

use the id_field column from the config #29

Closed goneri closed 9 years ago

goneri commented 9 years ago

Use the ID_FIELD configuration key instead of the hardcoded _id value.

Since registerSchema() is called during the configuration init, it cannot access an initialized config object. That's why we must:

goneri commented 9 years ago

Great, thanks for the merge :)