Re: Nested blocks in base template.

2013-04-28 Thread Enrico B. da Luz
Seems reasonable to me, the tool should try it's best to preserve the behaviour as much as possible, wheter it's documented or not. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fr

Re: Nested blocks in base template.

2013-04-28 Thread Aymeric Augustin
On 27 avr. 2013, at 11:05, Jonathan Slenders wrote: > Is this documented? If so, then I need to fix it. Maybe I'm biaised :) but that's the result I would expect. What would you expect? -- Aymeric. -- You received this message because you are subscribed to the Google Groups "Django deve

Django TestCase isolation: setUp vs setUpClass

2013-04-28 Thread Danilo Bargen
Hi all Today I ran across an issue while debugging Django tests. As stated in the docs, all model changes in a TestCase that are done during the test are reverted between the tests. This creates a nice and useful isolation of the different tests. Each time a test runs, the database looks just t

Re: Changing deferred model attribute behavior

2013-04-28 Thread ptone
On Thursday, April 25, 2013 2:37:10 PM UTC-7, Anssi Kääriäinen wrote: > > On 25 huhti, 23:44, Alex Ogier wrote: > > On Thu, Apr 25, 2013 at 2:10 PM, Florian Apolloner < > f.apollo...@gmail.com>wrote: > > > > > On Thursday, April 25, 2013 7:06:06 PM UTC+2, Adrian Holovaty wrote: > > > > >> A

Re: Changing deferred model attribute behavior

2013-04-28 Thread Shai Berger
Hi again, On Friday 26 April 2013, Anssi Kääriäinen wrote: > [...] > In almost every case it is better to try to minimize the amount of > queries than the amount of loaded fields. The cases where you have > deferred multiple fields, need only one of them later on, and there is > a field that you c

Re: Django TestCase isolation: setUp vs setUpClass

2013-04-28 Thread Russell Keith-Magee
On Mon, Apr 29, 2013 at 4:08 AM, Danilo Bargen wrote: > Hi all > > Today I ran across an issue while debugging Django tests. As stated in the > docs, all model changes in a TestCase that are done during the test are > reverted between the tests. This creates a nice and useful isolation of the > d

.rst files for tutorials of djangorocks.com

2013-04-28 Thread gilberto dos santos alves
Hi for all. Following this url [1], i found some clarify needs for this tutorial works nice. Please where i find these .rst files? I already search django.github.comand not found them. Thanks! url:: [1] http://www.djangorocks.com/tutorials/how-to-create-a-basic-blog-in-django/ -- gilberto dos

Re: .rst files for tutorials of djangorocks.com

2013-04-28 Thread Russell Keith-Magee
Hi Gilberto, The site you've referenced is not officially related to the Django project. I wasn't previously aware of the site -- we'll be having words with them for reproducing Django content without permission. If you've got questions or comments about the tutorial, you'll have to take that up