Thread: Fixes for django 1.4

Fixes for django 1.4

From
Christoph Berg
Date:
I had to do some fixes to get the site running in django 1.4 (Debian
Wheezy). Patch is attached.

Christoph
--
cb@df7cb.de | http://www.df7cb.de/

Attachment

Re: Fixes for django 1.4

From
Magnus Hagander
Date:
On Tue, Mar 5, 2013 at 3:41 PM, Christoph Berg <cb@df7cb.de> wrote:
> I had to do some fixes to get the site running in django 1.4 (Debian
> Wheezy). Patch is attached.

Have you verified that it still works on 1.2, or do we need to
validate this before applying anything?


-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/



Re: Fixes for django 1.4

From
Christoph Berg
Date:
Re: Magnus Hagander 2013-03-05 <CABUevExEV3HEPjPvVbun_rHbUkUOVg+grPpinQWPqG1qkh_1Xw@mail.gmail.com>
> On Tue, Mar 5, 2013 at 3:41 PM, Christoph Berg <cb@df7cb.de> wrote:
> > I had to do some fixes to get the site running in django 1.4 (Debian
> > Wheezy). Patch is attached.
> 
> Have you verified that it still works on 1.2, or do we need to
> validate this before applying anything?

Maybe it also works with 1.2, I haven't tried it. As discussed on irc
some time ago, I [*] think these are incompatible changes. I just
wanted to post the patch here so others don't have to do the same
changes.

Christoph

[*] Actually you said these caused deprecation warnings in 1.3
-- 
cb@df7cb.de | http://www.df7cb.de/



Re: Fixes for django 1.4

From
Magnus Hagander
Date:
On Tue, Mar 5, 2013 at 3:51 PM, Christoph Berg <cb@df7cb.de> wrote:
> Re: Magnus Hagander 2013-03-05 <CABUevExEV3HEPjPvVbun_rHbUkUOVg+grPpinQWPqG1qkh_1Xw@mail.gmail.com>
>> On Tue, Mar 5, 2013 at 3:41 PM, Christoph Berg <cb@df7cb.de> wrote:
>> > I had to do some fixes to get the site running in django 1.4 (Debian
>> > Wheezy). Patch is attached.
>>
>> Have you verified that it still works on 1.2, or do we need to
>> validate this before applying anything?
>
> Maybe it also works with 1.2, I haven't tried it. As discussed on irc
> some time ago, I [*] think these are incompatible changes. I just
> wanted to post the patch here so others don't have to do the same
> changes.

Ok - but testing definitely needed then :)


-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/



Re: Fixes for django 1.4

From
Magnus Hagander
Date:
On Tue, Mar 5, 2013 at 3:53 PM, Magnus Hagander <magnus@hagander.net> wrote:
> On Tue, Mar 5, 2013 at 3:51 PM, Christoph Berg <cb@df7cb.de> wrote:
>> Re: Magnus Hagander 2013-03-05 <CABUevExEV3HEPjPvVbun_rHbUkUOVg+grPpinQWPqG1qkh_1Xw@mail.gmail.com>
>>> On Tue, Mar 5, 2013 at 3:41 PM, Christoph Berg <cb@df7cb.de> wrote:
>>> > I had to do some fixes to get the site running in django 1.4 (Debian
>>> > Wheezy). Patch is attached.
>>>
>>> Have you verified that it still works on 1.2, or do we need to
>>> validate this before applying anything?
>>
>> Maybe it also works with 1.2, I haven't tried it. As discussed on irc
>> some time ago, I [*] think these are incompatible changes. I just
>> wanted to post the patch here so others don't have to do the same
>> changes.
>
> Ok - but testing definitely needed then :)

Looking at the patch, the feeds part looks like it should be backwards
compatible.

As for the settings - you can/should just use settings_local.py to
override that one, so the patch shouldn't be necessary.

The things about template loaders and context processors definitely
need to be tested, I haven't touched that stuff before so I have no
idea how backwards compat it would be.

-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/