py manage.py runserver works fine, but I kinda want to make django-admin.py
runserver work too.
Could anyone help?


Thanks


On Sat, Jan 15, 2011 at 3:22 AM, Praveen Krishna R <
rpraveenkris...@gmail.com> wrote:

> *try *
> *manage.py runserver
> *
> On Sat, Jan 15, 2011 at 10:58 AM, Chen Xu <xuche...@gmail.com> wrote:
>
>> Hi, Django developers:
>> I am very new here, trying to set up my Django
>> I have a project called 'mysite'
>> when I run:
>> $ django-admin.py runserver
>>
>> the terminal gives:
>> Error: Settings cannot be imported, because environment variable
>> DJANGO_SETTINGS_MODULE is undefined
>>
>> then I tried this:
>> $ export DJANGO_SETTINGS_MODULE=mysite.settings
>>
>> the terminal then gives me:
>> django-admin.py runserverError: Could not import settings
>> 'mysite.settings' (Is it on sys.path? Does it have syntax errors?): No
>> module named mysite.settings
>>
>>
>> can anyone help me with this?
>>
>> Thanks very much
>>
>>
>>
>>
>>  --
>> 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<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> *Praveen Krishna R*
>
>  --
> 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<django-users%2bunsubscr...@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