Stavros Korokithakis

Results 533 comments of Stavros Korokithakis
trafficstars

Hmm, that's an idea, but the new decorator would necessarily be misnamed a bit, so I'm not a huge fan of this practice...

The extra parameter still breaks backwards compatibility, since it's not called with parameters by default, but I really like the alternative names. Something like `json_response` might be the most fitting,...

Yeah, you're right. I didn't consider that we'd never be accepting function arguments in normal usage, so I'll go with your proposed fix above. If anyone wants to beat me...

@mknecht, have you found something that the default json module will serialize but Django's JSON encoder won't? Decimals do stay a string, but the default JSON encoder produces an exception,...

That's odd, I've been using it for proper serialization of dates and it's worked fine. I'll investigate.

Certainly, PRs are welcome. I am a bit swamped right now :/

Thanks for this research! Unfortunately, I've never used the `AutoOneToOne` model myself, so you know more than me at this point. Would you like to submit a PR with the...

This seems reasonable to me, does it work well for you? If so, I will merge it now and wait a bit for any problems to be reported.

Ah, yes, that's a good idea. Would you like to submit a PR that will accept both?

This is useful, could you file a PR? I haven't touched the template code in a while.