Here is the test I used to determine if the import was working correctly.

Can you do the same as below and paste the result??

 foxx@web1/slice10173160 [~] > python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> print django.VERSION
(1, 4, 0, 'final', 0)
>>> from django.core.wsgi import get_wsgi_application
>>>

Cal


On Mon, Oct 8, 2012 at 11:40 AM, Cal Leeming [Simplicity Media Ltd] <
cal.leem...@simplicitymedialtd.co.uk> wrote:

> It's possible your django version installed is either not compatible with
> the project you are using - or the installation may be corrupted somehow.
>
> Personally, I've never encountered this problem before using WSGI
> (normally it *just works*).
>
> A quick search on Google shows this;
> http://jonblack.org/2012/07/07/django-deployment-apache-and-mod_wsgi/
>
> There is also documentation on the WSGI module;
> https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/
>
> Can you confirm which version of Python and Django you have installed?
>
> Side note - using upper case letters (i.e. Yourdogsdead instead of
> yourdogsdead) in usernames on *nix based servers is not really a great
> thing to do :/
>
> Cal
>
> On Mon, Oct 8, 2012 at 2:13 AM, Wnt2bsleepin <wnt2bslee...@gmail.com>wrote:
>
>> I looked in the log files for apache and it came up with the following.
>>
>>  File "/home/Yourdogsdead/uglstats/uglstats/wsgi.py", line 26, in ?
>>  from django.core.wsgi import get_wsgi_application
>>  ImportError: No module named django.core.wsgi
>>
>> I am not sure why it's not importing properly.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/9ao5LPpT3NkJ.
>> 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.
>>
>
>

-- 
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