Seems like, some of the apps that you have in settings.py INSTALLED_APPS are
there in the pythonpath for python2.5 and not for python2.6.
You will need to do a easy_install-2.6 (or a corresponding pip/distribute
equivalent) package_name

On Wed, Oct 14, 2009 at 11:48 AM, eculver <e.imat...@gmail.com> wrote:

>
> I just tried upgrade to django 1.1, ran ./manage.py runserver, but was
> promptly halted due to this exception:
>
> ...
>
> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> site-packages/django/utils/translation/trans_real.py", line 180, in
> _fetch
>    app = import_module(appname)
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/utils/importlib.py", line 35, in
> import_module
>    __import__(name)
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/contrib/admin/__init__.py", line 1, in
> <module>
>    from django.contrib.admin.options import ModelAdmin, HORIZONTAL,
> VERTICAL
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/contrib/admin/options.py", line 5, in
> <module>
>    from django.contrib.contenttypes.models import ContentType
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/contrib/contenttypes/models.py", line
> 1, in <module>
>    from django.db import models
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/db/__init__.py", line 57, in <module>
>    'TIME_ZONE': settings.TIME_ZONE,
> TypeError: __init__() takes exactly 1 argument (2 given)
>
> Everything worked fine in 1.0.4 before the upgrade. Seems like it may
> be an obvious upgrade problem/oversight on my part. Any ideas?
> >
>


-- 
Regards,
Lakshman
becomingguru.com
lakshmanprasad.com

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

Reply via email to