Open mixmastamyk opened 6 years ago
You can specify a collection_name
when you call create_api
.
https://github.com/jfinkels/flask-restless/blob/master/flask_restless/manager.py#L446
Hi thanks, I've done that, and will have to do it for every model with a compound name.
Seems it would be easier for the admin and flask-restless to match. ;-)
Hi, had a model with a compound name similar to "FirstLast". Under the admin it is given an url like "firstlast", but under flask-restless it gets turned into "first_last."
I'm fine with either but believe the admin's version is more common. Might the underscores be removed?