Saturday, May 4, 2013

Re: Problem with Django 1.5.1 and django-pyodbc

Hi, I had almost exactly the same issue just a week ago. Try using the django-pyodbc-azure fork. It works great for me.

Mvg,
Thomas De Reyck

On 3-mei-2013, at 00:47, Kerry Calvert <kerryray44@gmail.com> wrote:

I have Django running on a Windows server with MS Sql using django-pyodbc.  I had Django version 1.4.2 working, and then upgraded to 1.5.1.  This broke django-pyodbc, which I fixed by updating to a fork by 'Gorah'.  This got my old site up and running. I then tried to create a new site, and when I ran syncdb, the error is that get-grouping requires two arguments.  This appears to be a new requirement in django\db\models\sql\compiler.py, which is imported by sql_server\pyodbc\compiler.py. I 'fixed' this by changing the Django line to "    def get_grouping(self, ordering_group_by=None):", but I suspect that this is not the right thing to do.  I'm an old programmer, but new to Python, Django, and open source.  Where should I go with this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate