You are trying to change directory through a file i.e. settings.py. This is
obviously not a directory but a file. In any case, it does not exist within
that directory level.

What you need to do is:
$ cd winker
$ ls

And you will see your setting file

I am assuming your directory structure is as follows:

winker
|
|- manage.py
|- winker
    |
    |- settings.py
    |- urls.py
    |- wsgi.py

Note that there are two winker directories. Pay attention to the current
directory that you are located in.


On Mon, Sep 23, 2013 at 1:09 PM, Avril Lang <avrill...@gmail.com> wrote:

> Newb needs some help making the tutorial go
>
> As you can see here I can create a new project and run the server but the
> only file in my project is manage.py. Where is "settings.py" and how can I
> get it in the proper location?
>
> Last login: Mon Sep 23 09:19:47 on ttys000
> new-host:~ avrillang$ django-admin.py startproject winker
> new-host:~ avrillang$ winker/
> -bash: winker/: is a directory
> new-host:~ avrillang$ cd winker
> new-host:winker avrillang$ ls
> manage.py    winker
> new-host:winker avrillang$ python manage.py runserver
> Validating models...
>
> 0 errors found
> September 23, 2013 - 04:28:51
> Django version 1.5.4, using settings 'winker.settings'
> Development server is running at http://127.0.0.1:8000/
> Quit the server with CONTROL-C.
> [23/Sep/2013 04:28:59] "GET / HTTP/1.1" 200 1957
> ls winker
> ^Cnew-host:winker avrillang$
> new-host:winker avrillang$ ls
> manage.py    winker
> new-host:winker avrillang$ cd settings.py
> -bash: cd: settings.py: No such file or directory
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to