Re: Problem installing pysqlite2 (for use with sqlite3)

2007-10-09 Thread benrawk
It worked, thank you! I installed a new version of python. Apparently my hoster, vpslink, doesn't include the development header files in the pre-installed instance of python. On Oct 7, 11:32 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 10/8/07, benrawk <[E

Problem installing pysqlite2 (for use with sqlite3)

2007-10-07 Thread benrawk
Hello, I am new to Django. I have successfully installed sqlite3, but cannot install its companion program pysqlite2. Below is the what I get from running 'python setup.py build'. The error I eventually receive is 'error: command 'gcc' failed with exit status 1'. Any ideas what could be going

urls.py regex problem

2007-03-30 Thread benrawk
Hello, When I am running the simple current_datetime example from the django book, and then edit my urls.py to look like the one in the book, the page doesn't server. Book urls.py: from django.conf.urls.defaults import * f from mysite.views import current_datetime urlpatterns =

Re: Trouble setting up Django and Apache

2007-03-25 Thread benrawk
/scientific4/docs/rhel-selg-en-4/rhlcommon-chapter-0017.html#RHLCOMMON-SECTION-0066 http://docs.fedoraproject.org/selinux-apache-fc3/sn-simple-setup.html On Mar 23, 2:30 am, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote: > On Mar 23, 6:47 pm, "benrawk" <[EMAIL PROTECTE

Re: Trouble setting up Django and Apache

2007-03-23 Thread benrawk
Thank you again for helping. FYI, I am using Fedora Core 6. I set 'PythonHandler mod_python.testhandler' in httpd.conf and got a bunch of info. The sys.path appears to be correct...relevant bits, and then full text beneath. sys.path containes /home/benrawk REQUEST_URI /mysite/ SCRIPT_NAME

Re: Trouble setting up Django and Apache

2007-03-22 Thread benrawk
Also, when I import and print sys.path into a python session, with apache running in the background, sys.path does not include '/home/ benrawk'. Is it supposed to? Is there a way I can check the value of PythonPath as it is defined in httpd.conf? On Mar 22, 8:37 pm, "benrawk" <[EM

Re: Trouble setting up Django and Apache

2007-03-22 Thread benrawk
Hello, thank your for your reply. Tried everything, getting positive results, but still can't load http://localhost/mysite/. 1) permissions on both /home, /home/benrawk, and /home/benrawk/mysite are 'drwxr-xr-x' 2) I succesfully imported mysite.settings after adding /home/benrawk

Trouble setting up Django and Apache

2007-03-22 Thread benrawk
Hello, Recieving a common error, but have trolled the message boards, and have not found a solution. My httpd.conf file contains the following relevant snippet: SetHandler python-program PythonPath "['/home/benrawk'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE mysit