login community faq

Hi All,

I'm new to WebFaction so please bare with me. Does anyone else have the same direction structure?

/home/<useraccount>/webapps/django/myproject/myproject/<app_name>

The first myproject dir has this:

/home/<useraccount>/webapps/django/myproject/ manage.py, myproject, templates

The second myproject dir has this:

/home/useraccount/webapps/django/myproject/myproject/ blog, init.py,init.pyc, settings.py, settings.pyc, urls.py, urls.pyc, wsgi.py

This is how the directory struct was setup by default. Just wondering if it's the same for everyone else. Seems odd to me.

asked Aug 14 '12 at 08:24

AgileDev's gravatar image

AgileDev
11

edited Aug 14 '12 at 08:25


The tutorials seem to be well out of date, which is not encouraging. I've also just registered and I'm trying to piece it together too. Can't see why they can't update the tuts every year or so. Your directory structure seems very close to what I have.

Only difference is I have put <app_name> beneath my top <myproject>. Not sure that is correct/best practice though.

answered Aug 14 '12 at 09:13

Colm's gravatar image

Colm
1

Our Getting Started Tutorial for Django targets the latest version of Django, currently 1.4.1. The "/home/useraccount/webapps/django/myproject/myproject" directory structure is correct for that version of Django.

Some older information, such as our screencast and a lot of older forum posts, use the old flat project directory structure, "/home/useraccount/webapps/django/myproject". If you're using Django 1.3.x or lower, then that's the directory structure that we create by default.

We'll be updating all of our documentation and screencasts in the coming months as we complete upgrades to our control panel.

answered Aug 14 '12 at 11:05

seanf's gravatar image

seanf ♦♦
59891220

Thank you for the clarification seanf. Very helpful.

(Aug 14 '12 at 12:37) AgileDev AgileDev's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×652
×23
×16

Asked: Aug 14 '12 at 08:24

Seen: 374 times

Last updated: Aug 14 '12 at 12:37

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited