Re: Django site broken after Debian upgrade

2011-07-19 Thread Andre Terra
Glad you got it figured out, after all! Unfortunately, the django book is indeed lacking a serious update. The official docs are still the go-to place for learning how to use django. Users in this list have been active in writing new pages to the official Wiki, but there's also a huge void in ter

Re: Django site broken after Debian upgrade

2011-07-19 Thread bkline
On Jul 19, 8:33 am, bkline wrote: > Thanks for the tip, Andre.  I'll keep digging and see if I can > extricate myself from this mess. Bingo! That was the problem. After clearing out the offending copied admin templates I was able to restore the CSRF code and I'm back on the road again. Thanks

Re: Django site broken after Debian upgrade

2011-07-19 Thread bkline
On Jul 18, 5:25 pm, Andre Terra wrote: > Perhaps you have a replica of the old admin templates on your > project's folder which might be overriding the files shipped with > core, so take a look at that first. This looks like a very useful clue. I set this up years ago to handle my company's fin

Re: Django site broken after Debian upgrade

2011-07-19 Thread bkline
On Jul 19, 1:13 am, Andre Terra wrote: > Like I said, installing python-django isn't canonical, but no body said it's > inherently wrong. Actually, I just paid a visit to Django's installation guide [1], which advises installing Django using the package management system of your OS distro, as th

Re: Django site broken after Debian upgrade

2011-07-18 Thread Kejun He
hi, I met the same problem when updated diango from version 1.2 to version 1.3. And it comes back to normal after back to version 1.2. May be your trouble came from the same reason rgs, he On Tue, Jul 19, 2011 at 1:13 PM, Andre Terra wrote: > On Tue, Jul 19, 2011 at 9:48 AM, bkline wrote: >>

Re: Django site broken after Debian upgrade

2011-07-18 Thread Andre Terra
> > On Tue, Jul 19, 2011 at 9:48 AM, bkline wrote: > > On Jul 18, 5:25 pm, Andre Terra wrote: > > > > Really? It would be better if I went back to the days where we all > > built everything from the source? Do all Django users running on > > Linux (which I assume is the platform for the majorit

Re: Django site broken after Debian upgrade

2011-07-18 Thread Aldiantoro Nugroho
On Tue, Jul 19, 2011 at 9:48 AM, bkline wrote: > On Jul 18, 5:25 pm, Andre Terra wrote: > > Really?  It would be better if I went back to the days where we all > built everything from the source?  Do all Django users running on > Linux (which I assume is the platform for the majority of > install

Re: Django site broken after Debian upgrade

2011-07-18 Thread bkline
On Jul 18, 5:25 pm, Andre Terra wrote: "Installing the python-django package is not the canonical way of using django, let alone running production servers." Really? It would be better if I went back to the days where we all built everything from the source? Do all Django users running on

Re: Django site broken after Debian upgrade

2011-07-18 Thread Andre Terra
Django has a policy of warning about deprecations for two versions and finally dropping support on the third dot release. Installing the python-django package is not the canonical way of using django, let alone running production servers. Perhaps you have a replica of the old admin templates on y

RE: [] Django site broken after Debian upgrade

2011-07-18 Thread Henrik Genssen
feel free to disable the csrf middleware and all problems should go away... >reply to message: >date: 18.07.2011 13:45:56 >from: "bkline" >to: "Django users" >subject: [] Django site broken after Debian >upgrade > >I just upgraded my Debian server, which brought the python-django >package up to