Re:Sandman: A Boilerplate-free Python REST API for Existing ...
by clubhi on Tuesday August 20, 2013 @01:44PM
(#6245288)
A few lines of code added on django-admin will get you this as well.
[ Parent
| on HN ]
Re:Sandman: A Boilerplate-free Python REST API for Existing ...
by johnsonmkj on Tuesday August 20, 2013 @02:38PM
(#6245687)
New to django, care to share a link?
Re:Sandman: A Boilerplate-free Python REST API for Existing ...
by dkroy on Tuesday August 20, 2013 @09:15PM
(#6247613)
from app.models import ModelName
admin.site.register(ModelName)
Django documentation for this: https://docs.djangoproject.com/en/dev/ref/contrib/admin/
Re:Sandman: A Boilerplate-free Python REST API for Existing ...
by jknupp on Wednesday August 21, 2013 @07:02AM
(#6249305)
The point is, with Django you'd have to painstakingly reverse-engineer a Django Model from your existing database. sandman does all of this without writing any boilerplate code (aside from listing the names of the tables you want included in your API).
The difference in LOC and general frustration is huge.