Re: Class based views: A standard hook for http-method-independent code

2012-11-20 Thread Mike Fogel
+1, this allows me what I want - to have http method-independent code that uses self.args, self.kwargs and self.request. On Sunday, November 18, 2012 1:52:07 PM UTC-8, Jordan Hagan wrote: > > +1, this looks like a better solution than the hook method. > > On Sat, Nov 17, 2012 at 7:52 AM, Jeremy D

Ticket #13978 (inline js/css in forms.Media) and a question about tests

2012-11-20 Thread Derek Payton
Hello, I'd like to see about getting #13978 resolved, and was hoping to get someone to take a look at it. Is it too late for this to be included in 1.5? https://code.djangoproject.com/ticket/13978 https://github.com/dmpayton/django/commit/36f0556de03a65f35f7c69e130bc853c1e01e7a5 I also have a g

Re: Django and South

2012-11-20 Thread Tom Evans
On Tue, Nov 20, 2012 at 4:29 AM, Лебедев Илья wrote: > I've realized that django has no migration tool in development and that > looks weird for me. Everybody use South, but django neither includes it in > contrib nor uses it in development. > What's the big deal? Can someone please explain. http

Re: ticket #19324: empty records in django_session table caused by invalid session keys

2012-11-20 Thread Rubo Liang
Hi Florian, Thanks for your remind, hope this ticket can be reviewed soon. Regards, Robert On Tue, Nov 20, 2012 at 8:00 PM, Florian Apolloner wrote: > Hi Robert, > > there is no need to notify us about tickets here, we do see those in Trac ;) > > Best Regards, > Florian > > -- > You received th

Re: Custom user models in 1.5, not flexible/dry enough?

2012-11-20 Thread Val Neekman
I have used Django extensively on few "big" projects, yet I consider myself a newbie when it comes to Django (core). As soon as the Class-Based views were released, I read the docs and tried to port my "then" ongoing project to the new Classy views. I have to say that I *agree with Russell* on t

Re: Could prefetch_related be modified to utilize select_related for ForeignKey relations?

2012-11-20 Thread tolomea
> it should do exactly what the developer asks. How do I, the developer, request that it use select_related for topping_type part of the best_pizza__toppings__topping_type example given above? -- View this message in context: http://python.6.n6.nabble.com/Could-prefetch-related-be-modified-to

Re: ticket #19324: empty records in django_session table caused by invalid session keys

2012-11-20 Thread Florian Apolloner
Hi Robert, there is no need to notify us about tickets here, we do see those in Trac ;) Best Regards, Florian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django

Re: Django and South

2012-11-20 Thread Florian Apolloner
Please search this group for discussions on this topic. Regards, Florian On Tuesday, November 20, 2012 5:29:28 AM UTC+1, Илья Лебедев wrote: > > I've realized that django has no migration tool in development and that > looks weird for me. Everybody use South, but django neither includes it in >

Django and South

2012-11-20 Thread Лебедев Илья
I've realized that django has no migration tool in development and that looks weird for me. Everybody use South, but django neither includes it in contrib nor uses it in development. What's the big deal? Can someone please explain. -- You received this message because you are subscribed to the Go

ticket #19324: empty records in django_session table caused by invalid session keys

2012-11-20 Thread Rubo Liang
Hi, We found there are lots of empty records(load() returns an empty dict) in django_session table. We suspect it was caused by invalid session keys sending by our users. I created ticket #19324(which I copied below) to describe the problem: https://code.djangoproject.com/ticket/19324#ticket Ho

Re: Class based views: A standard hook for http-method-independent code

2012-11-20 Thread George Hickman
I've created a pull-request & raised a ticket: https://code.djangoproject.com/ticket/19316 On Friday, November 16, 2012 6:52:44 PM UTC, jdunck wrote: > > +1, this looks like a good change anyway and doesn't smell to me. > > On Fri, Nov 16, 2012 at 6:09 AM, Daniel Sokolowski > > wrote: > > I li