Re: GSoC 2007 Status Update VII: Django REST interface

2007-08-19 Thread David Larlet
2007/8/19, Andreas Stuhlmüller <[EMAIL PROTECTED]>: > > On 8/17/07, David Larlet <[EMAIL PROTECTED]> wrote: > > Just one (latest?) thought, it's a bit hard to debug because > > 400 errors are not really verbose, is it possible to find a > > way to make debug easier? For the moment, I have: if > >

Re: GSoC 2007 Status Update VII: Django REST interface

2007-08-19 Thread Andreas Stuhlmüller
On 8/17/07, David Larlet <[EMAIL PROTECTED]> wrote: > Just one (latest?) thought, it's a bit hard to debug because > 400 errors are not really verbose, is it possible to find a > way to make debug easier? For the moment, I have: if > settings.DEBUG: print i.errors but I'm sure it can be better.

Re: GSoC 2007 Status Update VII: Django REST interface

2007-08-17 Thread David Larlet
2007/8/13, Andreas Stuhlmüller <[EMAIL PROTECTED]>: > I added code for forms to TemplateResponder (create_form, > update_form), an example that shows how to use this code and another > example that shows how to specify the data format at the end of your > URLs. I didn't know the curry function,

GSoC 2007 Status Update VII: Django REST interface

2007-08-13 Thread Andreas Stuhlmüller
This is the seventh status update for my Summer of Code project, the Django REST interface [1]. Last week, I extracted code from the ModelResource class that is not directly related to models but useful for resources in general, moved it to Resource and made ModelResource inherit from Resource.