Re: examples directory

2010-02-16 Thread David Cramer
It's already been done orokusaki. The examples were (humbly) horrible as well. No template usage, just generic HttpResponse. That's basic Python, and docs > examples (in code). On Feb 15, 11:52 pm, orokusaki wrote: > -1 I think examples, broken or working, are very helpful for absolute > beginner

Re: contrib.Auth

2010-02-16 Thread Clay Gerrard
How about fixing http://code.djangoproject.com/ticket/5786 "Relax character restrictions on auth usernames" Jacob already said back in December '07: "we just need to relax the current restrictions" The ticket has a patch, and tests... On Feb 11, 11:44 am, James Bennett wrote: > Once again: > >

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: Value conversions of aggregate return values -- is float conversion really required?

2010-02-16 Thread Russell Keith-Magee
On Tue, Feb 16, 2010 at 5:40 AM, Tommi Penttinen wrote: > Hi, > > I thought I'd check with you before creating a ticket. > > Django's aggregate documentation > http://docs.djangoproject.com/en/dev/ref/models/querysets/#id8 states that > return type for aggregates Max, Min and Sum is the same as th

Re: Backwards-incompat with CsrfViewMiddleware

2010-02-16 Thread Ivan Sagalaev
James Bennett wrote: Perhaps that's why, in both the 1.2 alpha release notes and the draft for the final 1.2 notes, it's listed under a big heading titled "backwards-incompatible changes". As we say in Russia "Gee, I didn't notice the elephant" :-). I still think it would be useful to add an e

Re: Backwards-incompat with CsrfViewMiddleware

2010-02-16 Thread James Bennett
On Tue, Feb 16, 2010 at 4:39 AM, Ivan Sagalaev wrote: > It's not the question of responsibility. We're changing a minor version > which is supposed to be backwards compatible. If a site will break in this > case people won't go looking for some responsible person they'll just blame > Django for br

Re: Backwards-incompat with CsrfViewMiddleware

2010-02-16 Thread Ivan Sagalaev
Luke Plant wrote: This case is slightly different because it is down to an interaction of a changed default setting with working code, but there will always be cases like that, and I think it is much better for developers to remember the general principle that they are responsible for whatever

Re: Using dajaxice to get my data to javascript

2010-02-16 Thread Gert Van Gool
django-developers is for the discussion of the development of Django itself, not development with Django. As such this mailing list is not appropriate for this message, django-users would be more appropriate. -- Gert Mobile: +32 498725202 Web: http://gert.selentic.net On Tue, Feb 16, 2010 at 0

Using dajaxice to get my data to javascript

2010-02-16 Thread Alexis Selves
Hello there, Is possible to get my data from Django using Dajaxice? I need get information to create markers on google maps. Thanks for your advices. Alex. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email t

Re: Release note references in documentation

2010-02-16 Thread Russell Keith-Magee
On Tue, Feb 16, 2010 at 3:28 PM, Andrew Badr wrote: > What's the policy about all those references to release notes in the > docs? For example, the autoescape template tag [1]  has "New in Django > 1.0: Please, see the release notes", with a link to the 1.0 release > notes. When can these be remov