Extra options for DatabaseWrapper

2006-11-01 Thread Yasushi Masuda
As in the ticket #2866, I think it would be nice if DatabaseWrapper has extra keyword options, which are passed to individual DB-API connection object constructor. For example, MySQLdb allows "charset" option that can be used to determine default_character_set of a connection. Pysqlite has are

Re: schema-evolution: postgres introspection bug

2006-11-01 Thread Matthew Flanagan
On 01/11/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > Hi, > > I've been testing out the schema-evolution branch again and hit the > same issue I was having before where it was trying to evolve a model > that hadn't changed. Here are my minimal test case models for this > issue: > > from

Re: Call for comment: Forms/manipulator replacement, take 1

2006-11-01 Thread thebjorn
I like it :-) But I'm also running into problems... how do you get data to populate subwidgets? I'm trying to create a Date widget with dropdown lists for days, months, and years similar to the one I created here: http://www.eborger.no/hifm/login.html (feel free to play around, it's written in

3rd party auth backend access to session object

2006-11-01 Thread [EMAIL PROTECTED]
I need to add session keys to the session right from my LDAP authenication backend. I think it is as simple as passing the session object to the backend during authentication. Has anyone else needed this kind of functionality? maybe there is a simpler way of accessing the session in a 3rd party

Re: State of MSSQL support

2006-11-01 Thread [EMAIL PROTECTED]
Ah, that is very clear. My understanding was that LGPL code could be used in a GPL project, but not necessarily vice-versa. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to

Re: State of MSSQL support

2006-11-01 Thread Jeremy Dunck
On 11/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thanks. Any idea as to why adodb was used instead of native > interaction? > By that, you mean FreeTDS via pymssql? It was GPL at the time, and it's now LGPL. I think that's the only reason, though.

Re: State of MSSQL support

2006-11-01 Thread [EMAIL PROTECTED]
Thanks. Any idea as to why adodb was used instead of native interaction? Sean De La Torre wrote: > Take a look at this ticket http://code.djangoproject.com/ticket/2358 > > It's based on adodb, and I believe it is fully functional except for > paging support (hopefully coming soon). > > Sean > >

Django mail.py Message-ID header

2006-11-01 Thread Graham King
Dear django-developers, At the moment django.core.mail does not set a Message-ID header in the mails it sends. SpamAssassin spots this and says INVALID_MSGID and /or MSGID_NO_HOST. I think the Message-ID is also used for message threading, and matters when you have clustered mail

Re: State of MSSQL support

2006-11-01 Thread Sean De La Torre
Take a look at this ticket http://code.djangoproject.com/ticket/2358 It's based on adodb, and I believe it is fully functional except for paging support (hopefully coming soon). Sean On 11/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am mostly new to Django, but have significant

Re: New autocommit setting ( updated patch )

2006-11-01 Thread Ilia Kantor
Sorry, typo in pervious message patch --- db/backends/mysql/base.py (revision 3954) +++ db/backends/mysql/base.py (working copy) @@ -96,9 +96,17 @@ if settings.DATABASE_PORT: kwargs['port'] = int(settings.DATABASE_PORT) self.connection =

New autocommit setting

2006-11-01 Thread Ilia Kantor
For Mysql, cursor for same SQL returns same results between requests if connection.commit() was not called. Sometimes that's a problem, because data changes, and commit never happens. There are also other reasons why autocommit may be useful, so here's a patch to introduce new optional

BUG: template.NodeList and non-ascii data

2006-11-01 Thread Max Derkachev
code.djangoproject.com's Trac rejected my ticket as supposed spam, so I'll try to fill it here: template.Nodelist.render raised an exception in return ''.join(bits) UnicodeDecodeError : 'ascii' codec can't decode byte 0xd1 in position 3128: ordinal not in range(128) The problem was that the

State of MSSQL support

2006-11-01 Thread [EMAIL PROTECTED]
I am mostly new to Django, but have significant experience working with MSSQL in other languages. I noticed that there is support for MSSQL (generating SQL only) through the adodb abstraction layer. I'm guessing this was a compatibility patch to allow for the "TOP" vs "LIMIT" syntax. Is that