Wednesday, June 30, 2010

Re: Django on multiple servers? (Deployment Problem)

Ok, again. i feel like a question whore, but i think this should be the last thing. I fixed the database problem for the main app, but the admin site isnt working at all, im getting an internal server error (500) when i try to access it. halp?

On Wed, Jun 30, 2010 at 10:24 PM, Paul Gully <nano3.14@gmail.com> wrote:
Oh wow. ok, so i solved that problem (it was just the sys.path thing in the wsgi file. easy fix) ,but now django is unable to open the database files to render the URLs. im using SQLite, so again, i assume the problem is that this project isn't 'native' to the computer, however that doesn't help me find a fix.


On Wed, Jun 30, 2010 at 8:40 PM, nano <nano3.14@gmail.com> wrote:
Ok, so i've written my Django app on computer A with the dev server,
and have pushed it to server B, running apache (implemented with
mod_wsgi). The server also has Django installed, but cannot find the
settings for some reason. what i've gathered is that because i've
never run the 'makeproject' command that the Django instance on the
server simply doesn't know the project exists. the project on the
server has a slightly different path than it did on the original
computer, however i have changed settings.py to reflect that.
Now, my assumption is that the fix will be to go into the django files
and edit whatever file notes what projects exist, however i dont even
know where to start looking. any help?


--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment