Sunday, September 12, 2010

Re: No module named shortcuts

On Sun, 2010-09-12 at 07:28 -0700, jean polo wrote:
> mmh, if I create another project and use his settings.py in the non-
> working one it works..
> I can't see what's wrong with my settings file, here it is in case
> someone wants to have a look at it:

Then try this:

$ ./manage.py shell

>>> import django

>>> type(django)
--> <type 'module'>

>>> django.__file__
--> '/usr/lib64/python2.6/site-packages/django/__init__.pyc'

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate