thanks karen!

On Apr 9, 12:37 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 8:44 AM, Lee Connell <[EMAIL PROTECTED]> wrote:
>
> > Hello All,
>
> > I am trying to customize django to fit into a directory structure that
> > makes sense for me and the project I am working on.  Below is how
> > django looks by default, underneath that is how I would like it.  Is
> > this possible and how? I was having such a problem trying to get
> > "python manage.py runserver --settings=lib.settings.  It would not
> > work for me. thanks!
>
> manage.py is a convenience script provided to set things up based on the
> recommended structure.  In particular it assumes settings.py is in your
> project directory.  If you want to deviate from that, then you can't use
> manage.py.  Instead (as the error message from manage.py tries to indicate)
> you could use django-admin.py and pass in the settings location.
> django-admin.py, though, doesn't automatically add your project's directory
> to the python path, so you will need to do that yourself.
>
> In short if you want to deviate from the recommended structure, you can't
> use the provided convenience script.  But it really isn't that hard to
> create your own that assumes your desired structure instead of the
> recommended one.
>
> Karen
>
>
>
> > myapp:
> >    __init__.py
> >    manage.py
> >    urls.py
> >    settings.py
>
> >    myproj1:
> >        __init__.py
> >        models.py
> >        views.py
> > ---------------------------
>
> > myapp:
> >    __init__.py
> >    manage.py
>
> >    lib:
> >        __init__.py
> >        settings.py
>
> >    web:
> >        __init__.py
> >        urls.py
>
> >        templates:
> >            __init__.py
> >            mytmpl.html
>
> >    db:
> >        __init__.py
>
> >        myproj1:
> >            __init__.py
> >            models.py
> >            views.py
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to