Re: override __hash__ in django.db.base.Model

2006-10-22 Thread favo
I was totally wrong to open this ticket, since http://docs.python.org/ref/customization.html: """ If a class defines mutable objects and implements a __cmp__() or __eq__() method, it should not implement __hash__() """ And django model is a mutable object. so we can't implement __hash__() --~

Re: Call for testing: New setup.py

2006-10-22 Thread AlexL
Worked fine. WinXP SP2, Python 2.4.2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group,

Re: MSSQL Support

2006-10-22 Thread DavidA
Sean De La Torre wrote: > I've been testing with SQL Server 2000 and MSDE. When I have more > time I intend to install SQL Server 2005 Express to see if there are > any issues with the newer versions. > > On 10/21/06, DavidA <[EMAIL PROTECTED]> wrote: > > > > > > Sean De La Torre wrote: > > > I'

Re: MSSQL Support

2006-10-22 Thread Sean De La Torre
I'll take a look around and see if there is a proper place for these statements. I had just come across the statement you posted for SQL Server 2000, so we're probably looking in the same places to solve the problem. On 10/22/06, DavidA <[EMAIL PROTECTED]> wrote: > > > Sean De La Torre wrote: >

FormField.html2python is a static method. Why?

2006-10-22 Thread Max Derkachev
FormField and its subclasses should define html2python as a static method, and FormField.convert_post_data calls the method so that it must be static: self.__class__.html2python(data) So, it is impossible to access the field's instance attributes while converting data. I've just faced a need of f

Data for globalization

2006-10-22 Thread GinTon
I have been working in creating tables in format CSV for the globalization (G11n), so that they can be used in any project where it could be necessary or useful. You can see the tables on: http://satchmo.python-hosting.com/browser/trunk/satchmo/G11n/data/ And here you have the files for add/inte

Functional benchmark Rails - Django - CakePHP

2006-10-22 Thread jchatard
Hello, I'm currently writing a functional benchmark for french press (IT news, programming magazine) about Django, Ruby on Rails and CakePHP. I started to fill one Excel sheet with Django's assets but then I thought that Django's community would be interested and much more skilled than me to do

a utility function to return html for given url?

2006-10-22 Thread falcon
Is there a function which takes a string representaiton of a url and returns the html for that url? (in other words, this function takes a url, calls up its corresponding function in views.py, and returns its output?) I am doing an experiment by writing a sort of "import" tag which will take a ur

Another DB Issue

2006-10-22 Thread [EMAIL PROTECTED]
http://pastebin.ca/214049 Seems to randomly pop up like my other one --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.co

Re: Data for globalization

2006-10-22 Thread James Bennett
On 10/14/06, GinTon <[EMAIL PROTECTED]> wrote: > Now I would that Django developers could to integrate these tables with > django, because without a doubt it has many advantages to both the > administrators and the users. I've tinkered once or twice with the idea of doing a 'django.contrib.locale

Re: a utility function to return html for given url?

2006-10-22 Thread Malcolm Tredinnick
On Sun, 2006-10-22 at 05:59 +, falcon wrote: > Is there a function which takes a string representaiton of a url and > returns the html for that url? (in other words, this function takes a > url, calls up its corresponding function in views.py, and returns its > output?) No. > > I am doing a

Re: Data for globalization

2006-10-22 Thread GinTon
I also developed the Django models for those data: http://webda.python-hosting.com/browser/trunk/Django/I18n Please, post your message in this group http://groups.google.com/group/webda I would to have all discussion related to globalization data in the same group. So it could be usefull for tha