Re: About *Fields, newforms and lazyness

2007-03-21 Thread David Larlet
2007/3/6, David Larlet <[EMAIL PROTECTED]>: > Hi, > > I got some troubles today with newforms. I use to create models fields > with a first implicit verbose_name argument: > email = models.EmailField("E-mail") > > Unfortunately newforms fields have quite similar argument (label) but > it's not the

Re: mysql_old backend

2007-03-21 Thread Karsu
Please, check this: http://code.djangoproject.com/ticket/3775 On 21 maalis, 06:25, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > For the possibly 3.2 people who don't also subscribe to django-users, I > just posted this > > http://groups.google.com/group/django-users/browse_frm/thread/98e6857..

Re: mysql_old backend

2007-03-21 Thread Michael Radziej
On Wed, Mar 21, Karsu wrote: > > Please, check this: http://code.djangoproject.com/ticket/3775 I don't think the patch--as it is--is a good idea, but what's your problem? Michael -- noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg - Tel +49-911-9352-0 - Fax +49-911-9352-100 htt

SQL Alchemy integration

2007-03-21 Thread Emeka Mosanya
Hello everybody, Is there any update about the SQL Alchemy integration ? I have checked out the sqlalchemy branch but there is not reference to SQL Alchemy in it. Cheers, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Memory Leak with httpd.exe on Windows

2007-03-21 Thread Moses Ting
Hi, I'm running a developmental Django machine with the following specs: - Windows XP - Apache - Mod_python - Django 0.95 And it appears that one of the Apache-related Windows service httpd.exe keeps on growing in memory. Has anyone encountered this problem or even know how to remedy it? Than

Re: SQL Alchemy integration

2007-03-21 Thread Michael Radziej
On Wed, Mar 21, Emeka Mosanya wrote: > Hello everybody, > > Is there any update about the SQL Alchemy integration ? > I have checked out the sqlalchemy branch but there is not reference to SQL > Alchemy in it. I think this branch has only seen merges from trunk. Michael -- noris network AG -

Re: Memory Leak with httpd.exe on Windows

2007-03-21 Thread Ramiro Morales
On 3/21/07, Moses Ting <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm running a developmental Django machine with the following specs: > > - Windows XP > - Apache > - Mod_python > - Django 0.95 > > And it appears that one of the Apache-related Windows service > httpd.exe keeps on growing in memory. H

Re: mysql_old backend

2007-03-21 Thread Karsu
I underestand that mysql_old is compatible support for people who can't upgrade MySQLdb immediately. Without this patch I can't use django with mysql with older version than MySQLdb-1.2.1p2. If I try to use mysql_old and run python manage.py syncdb it will raise ImportError? "MySQLdb-1.2.1p2 or n

Re: SQL Alchemy integration

2007-03-21 Thread James Bennett
On 3/21/07, Emeka Mosanya <[EMAIL PROTECTED]> wrote: > Is there any update about the SQL Alchemy integration ? > I have checked out the sqlalchemy branch but there is not reference to SQL > Alchemy in it. It's sleeping right now. The upcoming refactoring of Django's QuerySet mechanism looks like

feature request: user session

2007-03-21 Thread Amit Upadhyay
Hi, Django has anonymous sessions, tracked by cookies. The session can not be accessed from a different machine for the same user, which drastically reduces the usefulness of sessions. Another approach to save something persistently for a user it to update the UserProfile model and create a new ro

Re: feature request: user session

2007-03-21 Thread Michael Radziej
On Wed, Mar 21, Amit Upadhyay wrote: > Hi, > > Django has anonymous sessions, tracked by cookies. The session can not be > accessed from a different machine for the same user What do you mean with 'accessed from a different machine'? Another server (in a load balancer or similar), or another c

Re: feature request: user session

2007-03-21 Thread Amit Upadhyay
On 3/21/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 21, Amit Upadhyay wrote: > > > Hi, > > > > Django has anonymous sessions, tracked by cookies. The session can not > be > > accessed from a different machine for the same user > > What do you mean with 'accessed from a different

Re: feature request: user session

2007-03-21 Thread Gerry Steele
But if you want reliable persistance you are going to have to store it in the DB at some stage anyway. And why not store it AND put it in the session each time you create a new session? On Wed, 21 Mar 2007 16:51:27 -, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > On 3/21/07, Michael Radz

Re: SQL Alchemy integration

2007-03-21 Thread jbronn
> It's sleeping right now. The upcoming refactoring of Django's QuerySet > mechanism looks like it'll make working with other ORMs a bit easier, > so if someone wants to come back and revisit it then it'd be a bit > less of an ambitious project ;) Is there any place (e.g. a trac page) where inter

Re: feature request: user session

2007-03-21 Thread Michael Radziej
On Wed, Mar 21, Amit Upadhyay wrote: > On 3/21/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > > > On Wed, Mar 21, Amit Upadhyay wrote: > > > > > Hi, > > > > > > Django has anonymous sessions, tracked by cookies. The session can not > > be > > > accessed from a different machine for the same u

Re: SQL Alchemy integration

2007-03-21 Thread James Bennett
On 3/21/07, jbronn <[EMAIL PROTECTED]> wrote: > Is there any place (e.g. a trac page) where interested parties can > check out the progress on the QuerySet refactor? Since I recently > completed PostGIS integration for the GeoDjango branch (will be > committed to SVN branch pending Jeremy Dunck's

Re: feature request: user session

2007-03-21 Thread Jeremy Dunck
On 3/21/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > ... > If you find altering the database tables is a problem, you could use a user class User(... class Message(... class UserMessagePref(...): user = FK(User) message = FK(Message) muted = Boolean() No? Or is it that you don'

Problem with syncdb's handling of ManyToManyFields

2007-03-21 Thread Benjamin Slavin
Howdy, folks, I'm in the process of migrating a Django project from MySQL to PostgreSQL and think I may have stumbled across a nasty bug. It relates to ManytoMany fields and the way in which syncdb creates the database tables to handle this. For full details, please see the ticket at: http://co

Re: mysql_old backend

2007-03-21 Thread Malcolm Tredinnick
On Wed, 2007-03-21 at 08:03 -0700, Karsu wrote: > I underestand that mysql_old is compatible support for people who > can't upgrade MySQLdb immediately. Without this patch I can't use > django with mysql with older version than MySQLdb-1.2.1p2. > > If I try to use mysql_old and run python manage.

Re: Memory Leak with httpd.exe on Windows

2007-03-21 Thread Graham Dumpleton
Moses Ting wrote: > Hi, > > I'm running a developmental Django machine with the following specs: > > - Windows XP > - Apache > - Mod_python > - Django 0.95 > > And it appears that one of the Apache-related Windows service > httpd.exe keeps on growing in memory. Has anyone encountered this > prob

ORACLE - column at array pos 0 fetched with error: 1406

2007-03-21 Thread Tristan
I am under 4697 of http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint/ Before reporting this message as a ticked, I would like to be sure if it is my mistake or a bug exists. Into an x model, I defined next field: caracter = models.CharField('Campo Character', ma

Re: SQL Alchemy integration

2007-03-21 Thread Malcolm Tredinnick
On Wed, 2007-03-21 at 18:10 +, jbronn wrote: > > It's sleeping right now. The upcoming refactoring of Django's QuerySet > > mechanism looks like it'll make working with other ORMs a bit easier, > > so if someone wants to come back and revisit it then it'd be a bit > > less of an ambitious proj