On Sun, Apr 15, 2012 at 6:14 AM, Aymeric Augustin <
aymeric.augus...@polytechnique.org> wrote:
> On 14 avr. 2012, at 21:25, Evan Carmi wrote:
>
> >>> Poll.objects.filter(pub_date__year=1) #We should get the poll p (but
> we don't)
> []
>
>
> The docs [1] say that the __year lookup "takes a four di
File-based session backend doesn't expire, unlike db-backed and cache-based
sessions. I'm not too sure if this is a bug or an intended (but
undocumented) design. I am under the impression that all session backends
should behave similarly.
If this is an intended design, can someone explains why
hi,
I'm on django 1.3 using class based generic views.
So in my use case, i have a modelForm defined with custom fields.
something along the lines of
class MF_B(forms.ModelForm):
stuff = forms.MultipleChoiceField(queryset=None, required=False)
class Meta:
model=B
as the code abo
On Apr 17, 5:38 pm, Carl Meyer wrote:
> Since it seems that the additional test-suite runtime from the new
> default password hasher is enough to be a blocker for migrations to 1.4
> in some cases, I've opened a ticket for documenting this
> workaround:https://code.djangoproject.com/ticket/18157
Since it seems that the additional test-suite runtime from the new
default password hasher is enough to be a blocker for migrations to 1.4
in some cases, I've opened a ticket for documenting this workaround:
https://code.djangoproject.com/ticket/18157
Carl
signature.asc
Description: OpenPGP dig
Thanks man!
PASSWORD_HASHERS = ('django.contrib.auth.hashers.MD5PasswordHasher',)
in test_settings.py made tests of our project 2x faster (I was not
upgrading from 1.3).
понедельник, 16 апреля 2012 г., 20:33:31 UTC+6 пользователь Dan Fairs
написал:
>
> Hi,
>
> Both of these were fixed by using
My project has about half as many tests but boy did the run slowly on my
Django 1.4 upgrade branch.
On Monday, 16 April 2012 15:33:31 UTC+1, Dan Fairs wrote:
>
>
> The first big regression for us was that our test suite took 20% longer to
> run. I traced this down to the new default password has