Thank you.

this is my wsgi.py file:

import os, sys
sys.path.append("/var/www/html/ihtmks_test/test")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test.settings")

import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()



2014年4月9日水曜日 23時08分27秒 UTC+9 Daniel Roseman:
>
> On Wednesday, 9 April 2014 12:44:29 UTC+1, Choro H wrote:
>>
>> i have the  following error, why? Please help me 
>> ImportError: Could not import settings 'kanre.settings' (Is it on 
>> sys.path? Is there an import error in the settings file?): No module named 
>> kanre.settings
>> ImportError: Could not import settings 'test.settings' (Is it on 
>> sys.path? Is there an import error in the settings file?): No module named 
>> test.settings
>>
>>
>>
> You should post your wsgi.py file. Are you setting the Python path there? 
> If not, then you haven't told Python where to find your kanre or test 
> projects, so it's not surprising it can't find them.
> --
> DR.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d03722bb-bde0-4fad-abcc-3a4b04110748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to