Re: form inheritance

2008-09-03 Thread Baczek
On 26 Sie, 12:22, fax8 <[EMAIL PROTECTED]> wrote: > Nobody have ideas? I've got a similar problem, with the added fun of inheritance working on the dev machine and not working on the production server (it used to). Turns out I broke something and python stopped recognizing that newforms and form

Re: Complex, somewhat formula...

2008-08-27 Thread Baczek
On 27 Sie, 14:41, [EMAIL PROTECTED] wrote: > I have a system that I created a few years back in PHP (it actually > started in VB with Excel) that goes through all the college football > games, compute a team's win/loss record, then a "power rating" which > is based on their winning percentage and

Re: Unicode errors

2008-07-19 Thread Baczek
On 19 Lip, 14:01, Amirouche <[EMAIL PROTECTED]> wrote: > I got an encoding error while rendering in the admin some text I > parsed from a feed with feedparser > > Caught an exception while rendering: 'ascii' codec can't encode > character u'\u2605'. > > everything is utf-8 compliant (db = sqlite3)

Re: Persistent Python objects

2007-02-03 Thread Baczek
On 3 Lut, 20:58, "Tom" <[EMAIL PROTECTED]> wrote: > What do you suggest for this? If it needs to be a singleton, you could consider deploying under FastCGI, I believe the process is started only once and the real server acts simply as a proxy. But note that I _believe_, not know :) --~--~-

Re: mod_python + sqlite3 does not work

2006-10-22 Thread Baczek
A common problem is that even though the db file is writeable, the directory it's in isn't, and it has to be because sqlite needs to make a logfile there. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

Re: Connecting FCKeditor's Image Browser to Django

2006-08-24 Thread Baczek
Great work! I wanted to do something similar, but eventually went the easy way and just use the php connector :) Works practically out of the box in an apache2 + mod_php + mod_python setting. --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: django cannot connect to mysql after upgrade

2006-08-24 Thread Baczek
Thanks. Got around that by uninstalling distro's mysqldb and easy_installing one. Now I got hit by 1093 You can't specify target table 'foobar' for update in FROM clause The cause seems to be a query of form such as UPDATE t1 SET column2 = (SELECT MAX(column1) FROM t1); This seems to be a 'bug'

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread Baczek
Just wanted to add that I got hit by that too, just now. Hoping for a quick fix here or in django... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

TinyFCK or FCKEditor image uploader

2006-08-09 Thread Baczek
Hi. Has anyone managed to get FCKEditor's image uploader/browser to work with django? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegr

Re: (Re)ordering stuff

2006-07-22 Thread Baczek
Martin Robinsson napisal(a): > "reorder stuff" is quite vague... [...] > If you want to control the order in which table records appear you can > look at the ´´ordering´´ Admin parameter instead. That and all > other Admin options are documented here: > http://www.djangoproject.com/documentation/

(Re)ordering stuff

2006-07-21 Thread Baczek
Hello, world! I finally convinced my boss to ditch php in favour of django (this little screencast with an automagical admin generation made his jaw hit the floor), but I've got a question - is it possible to reorder stuff? It's not covered in the tutorial and it is one of the most basic needs of