Hi Vinay / anyone interested in the Python 3 port,
I am a real newbie, so I seek forgiveness if what I did is stupid, but as I
wanted to test out Vinay Sajip's django3 from git based on an existing project,
I tried to install psycopg2 (Is this wise?)
I found following error when trying to browse to the admin site of my django
app:
File
".../venv//lib/python3.2/site-packages/django/db/backends/postgresql_psycopg2/base.py",
line 8, in <module>
from django.db import utils
ImportError: cannot import name utils
And therefore I changed line 8 of the aforementioned code to:
from django.db.utils import *
It then works. Is this ok?
The pip freeze of my virtual env shows:
Django==1.5.dev20120527102728
distribute==0.6.24
psycopg2==2.4.5
wsgiref==0.1.2
Thanks.
Regards,
Kok Hoor
On May 25, 2012, at 5:51 PM, Vinay Sajip wrote:
> The single codebase port of Django to Python 3 is now available on
> GitHub [1]. Recent core changes have been merged, and the test results
> are available at [2].
>
> Summary:
>
> 2.7.2: Ran 4734 tests in 540.793s - OK (skipped=112, expected
> failures=3)
> 3.2.2: Ran 4688 tests in 524.807s - OK (skipped=120, expected
> failures=2, unexpected successes=1)
>
> Recent tests only cover the SQLite backend and were run on Linux. Help
> with testing other DB backends (and the GIS functionality) would be
> much appreciated!
>
> Regards,
>
> Vinay Sajip
>
> [1] https://github.com/vsajip/django/tree/django3
> [2] https://gist.github.com/1373553
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.