Re: Apache and mod_wsgi on Ubuntu

2009-08-05 Thread Steve1234
Thanks, I got it working. I searched this forum and I even read the page referenced but still missed the answer. Thanks again this forum is very helpful. The fix was to add one line to the django.wsgi file to end up with this: import os import sys sys.path.append('/home/steve)

Apache and mod_wsgi on Ubuntu

2009-08-04 Thread Steve1234
I am trying to setup Apache and mod_wsgi on Ubuntu to run Django content. I generated a minimum project using "django-admin.py startproject mysite" creating the project in my home folder. Running the development server works and shows the "get started" page. But the "production" setup returns

Re: Bug in admin area in SVN

2009-06-26 Thread Steve1234
I am seeing this too. Since the URLs are wrong you get file not found 404 errors. To reproduce: 1. login to admin 2. click on logout (or change password) You are sent to the file not found pages. The URL is http://127.0.0.1:8000/admin/admin/logout/ Expected: http://127.0.0.1:8000/admin/logout/

Re: Bug in admin area in SVN

2009-06-26 Thread Steve1234
Sorry, I didn't see the reply. --~--~-~--~~~---~--~~ 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

Re: "python manage.py runserver" tutorial error

2009-06-26 Thread Steve1234
Thanks Alex, that did the trick. I had postgresql as my database engine. --~--~-~--~~~---~--~~ 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

Re: "python manage.py runserver" tutorial error

2009-06-25 Thread Steve1234
I installed psycopg2 as you suggest, however I still have the same error. The error complains about psycopg not psycopg2, did I get the wrong module? Or something else? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: "python manage.py runserver" tutorial error

2009-06-25 Thread Steve1234
> That's the module for Postgres.  What OS are you on?  If you can tell > us then we can give you specific instructions for installing the > module. I am running Ubuntu 9, Postges 8.3.7, Python 2.6.2. I installed Django using subversion. --~--~-~--~~~---~--~~

"python manage.py runserver" tutorial error

2009-06-25 Thread Steve1234
I am getting an error working through "Writing your first Django app, part 1" tutorial. "python manage.py runserver" generates the error: ...raise ImproperlyConfigured("Error loading psycopg module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module