I'm working on a project where I want to duplicate a Django-driven app so I can play with the design without screwing up the main site (I'm not the programmer, and I'm a bit thick).
What I've tried to do is this:
Create a new app with the Django preset,
Copy the original app into the new app folders,
Create a new database and copy the old database info into it,
Manually change settings.py, manage.py, etc. in the new app to update the site URLs and DB pointers to the test site (test.foo.com, foo_tst.sql, etc.)
I've got the domain registered fine, everything seems to be pointing to the right places in the Webfaction control panel, but I keep getting this message:
Congratulations on your first Django-powered page.
Of course, you haven't actually done any work yet. Here's what to do next:
If you plan to use a database, edit the DATABASES setting in myproject/settings.py.
Start your first app by running python myproject/manage.py startapp [appname].
You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!
It's true that DEBUG = True in the Django settings file, but DEBUG = True is also active in the working app. The settings file seems to be exactly the same as that for the working app, except that I have updated the database and URL information throughout.
Do I still need to run
python myproject/manage.py startapp [foo] from the terminal? I'm afraid that if I try that, I might screw something up even worse.
Mar 18 '12 at 11:01