The normal way to do it is with manage.py. The whole point of the script is to
set up your environment so that Django can run your project.
Shawn
On Jan 15, 2011, at 12:40 PM, Chen Xu wrote:
> py manage.py runserver works fine, but I kinda want to make django-admin.py
> runserver work too.
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 wrot
*try *
*manage.py runserver
*
On Sat, Jan 15, 2011 at 10:58 AM, Chen Xu 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, bec
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 DJANG
4 matches
Mail list logo