Wednesday, February 06, 2013

Easy REST API with django-tastypie | Brabadu Technical Blog

Easy REST API with django-tastypie | Brabadu Technical Blog: "
And at last we would like to remove field id. Showing to the world inner data like ID of object in database is potentially dangerous. This could be done with fields or excludes parameters, that might be familiar to you from Django Forms, that use the same principle. To hide id field we add excludes = ['id'] to our Meta classes.
"

'via Blog this'