Re: Serialization of single object instead of only querysets.

2010-02-17 Thread orokusaki
Will do. Piston looks pretty cool. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googleg

Re: Serialization of single object instead of only querysets.

2010-02-17 Thread Eric Holscher
Use Django Piston. It will make your life a ton easier. Cheers, Eric On Wed, Feb 17, 2010 at 11:48 AM, orokusaki wrote: > Addendum: I might be simply abusing `serialize`. I'm using it as a > Django compatible `json.dumps` in order to provide a JSON API from my > models to my JSON-RPC client. The

Re: Serialization of single object instead of only querysets.

2010-02-17 Thread orokusaki
@Everyone I apologize if I came across as using hyperbole or idiotic. I never said I was hushed here, not even one time. I was hushed on code.django and sent here. Yes hushed might be a bit of an exaggeration, somebody basically closed my ticket and says go get consensus before reopening a ticket,

Re: Serialization of single object instead of only querysets.

2010-02-17 Thread orokusaki
Addendum: I might be simply abusing `serialize`. I'm using it as a Django compatible `json.dumps` in order to provide a JSON API from my models to my JSON-RPC client. There seems to be no more extensible way. If this isn't one of the intended uses, let me know and I'll leave it alone. Again I apolo

Re: Serialization of single object instead of only querysets.

2010-02-16 Thread Jacob Kaplan-Moss
On Mon, Feb 15, 2010 at 11:43 PM, orokusaki wrote: > Thank you Karen. I've been hushed so many times about this [...] I can't find any evidence that this is the case. In fact, this appears to be your first post on django-developers. Since you're (apparently) new here, I'm happy to cut you some s

Re: Serialization of single object instead of only querysets.

2010-02-16 Thread Luke Plant
On Monday 15 February 2010 21:53:37 orokusaki wrote: > The problem comes when you're writing > your outside code (JavaScript, et all) against the API you've now > built. You need something like user[0].first_name instead of just > user.first_name. It's not a huge coding difference. It just see

Re: Serialization of single object instead of only querysets.

2010-02-15 Thread Russell Keith-Magee
On Tue, Feb 16, 2010 at 1:43 PM, orokusaki wrote: > Thank you Karen. I've been hushed so many times about this, yet there > seems to be a growing concern (hence the search traffic, and number of > results) about why you can't naturally do this with Django's built-in > serializer. I have no proble

Re: Serialization of single object instead of only querysets.

2010-02-15 Thread orokusaki
Thank you Karen. I've been hushed so many times about this, yet there seems to be a growing concern (hence the search traffic, and number of results) about why you can't naturally do this with Django's built-in serializer. -- You received this message because you are subscribed to the Google Grou

Re: Serialization of single object instead of only querysets.

2010-02-15 Thread Karen Tracey
On Mon, Feb 15, 2010 at 9:08 PM, Gary Reynolds wrote: > There is already a ticket for this (and possibly others). > > http://code.djangoproject.com/ticket/11244#comment:4 > > It has been closed and marked wontfix, see the comments for why. I believe the request here is to reconsider that wontfix

Re: Serialization of single object instead of only querysets.

2010-02-15 Thread Gary Reynolds
There is already a ticket for this (and possibly others). http://code.djangoproject.com/ticket/11244#comment:4 It has been closed and marked wontfix, see the comments for why. On 15 Feb 2010, at 21:53, orokusaki wrote: Please visit the following URL, and when you do, put your focus into the

Serialization of single object instead of only querysets.

2010-02-15 Thread orokusaki
Please visit the following URL, and when you do, put your focus into the search form after "seri" and type the letter "a". You'll notice the top search for anything related to Django serialization is "Single Object". This is because people want to have this feature. Serializing a single object can