Re: Problem with django 1.5.1

2013-05-09 Thread kl4us
works, thanks a lot Il giorno giovedì 9 maggio 2013 16:37:11 UTC+2, ejb ha scritto: > > Hey kl4us, > > I think the problem is that you need to specify the URL name as a string, > like: {% url 'post' slug=post.slug %} > > https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns

Re: Problem with django 1.5.1

2013-05-09 Thread Elliot Bradbury
Hey kl4us, I think the problem is that you need to specify the URL name as a string, like: {% url 'post' slug=post.slug %} https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns Elliot On Thu, May 9, 2013 at 10:29 AM, kl4us wrote: > I have this code http://pastebin.com/x

Problem with django 1.5.1

2013-05-09 Thread kl4us
I have this code http://pastebin.com/xTJTmZws with django 1.4.3 on OSX works fine, on ubuntu with django 1.5.1 i have error "coercing to Unicode: need string or buffer, Post found" at line "{% url post slug=post.slug %}" of template post_list.html. Why and how can i adjust this? -- You receive

Re: Problem with Django 1.5.1 and django-pyodbc

2013-05-04 Thread Thomas De Reyck
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 wrote: > I have Django running on a Windows server with MS Sql using django-pyodbc. I > had Django version 1.4.2

Re: Problem with Django 1.5.1 and django-pyodbc

2013-05-03 Thread Vernon D. Cole
Kerry: This is not what you asked for, but it might work for both of us... I am working on an update for django-mssql for 1.5.1 and could really use a beta tester. To be specific, I am pulling the old, customized ado api module out and replacing it with the next version of adodbapi. (The *next*

Problem with Django 1.5.1 and django-pyodbc

2013-05-02 Thread Kerry Calvert
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