Re: Setting up Django in apache

2008-09-03 Thread Pepsi330ml
Hi Forget to add on. I am using Django version 0.96. Don't intend to upgrade to version 1.0 now. Thus i cannot use the PythonOption django.root Is there other alternative? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Setting up Django in apache

2008-09-03 Thread Pepsi330ml
Hi, Initially, my setting in apache is ... The web request http://www.mydjango.com will be handle by my django page. Now, i want to change the web request to http://www.mydjango.com/pepsi, to be handled by my django page. I do not want to change the urls.py in my django project. This do

Deploying Django on Apache

2008-07-22 Thread Pepsi330ml
This is my file system structure WebApplication -> 0.9 ->lib (log4py) ->src (the Django Code) This is the command i used to run the Django Application from console. $ PYTHONPATH=lib/:src/ DJANGO_SETTINGS_MODULE=settings src/manage.py runserver PYTHONPATN=lib/:src/ The above command is

Re: Deploying Django on Apache

2008-07-22 Thread Pepsi330ml
YES!!! It worked!! Now onto another problem. Database settings, my original settings is postgresql_psycopg2 Running from command line, the web application can access the database with no problem. Running off apache, i have a interface error complaining the connection is closed. Then i change

Re: cant access non-django web page after deploy django on localhost

2008-07-15 Thread Pepsi330ml
Hi, I managed to overcome the problem. In the httpd.conf: ServerName localhost #leave it as it is #use the IP address for ServerName as well. NameVirtualHost 127.1.1.1 ServerName 127.1.1.1 SetHandler python-program PythonHandler django.core.handlers.modpython

cant access non-django web page after deploy django on localhost

2008-07-15 Thread Pepsi330ml
Hi, I deployed my Django Application onto the localhost using Apache. Below are the changes i did in the httpd.conf ServerName localhost SetHandler python-program PythonHandler django.core.handlers.modpython PythonDebug On PythonPath "['/xxx/', '/xxx/yyy'] + sys.path"

Black Box Testing Framework for Django

2008-07-08 Thread Pepsi330ml
Hi All, I am reading up on how to use external testing framework on Django Web Application. Particularly, Black Box Testing. Anybody using any particular framework on Django? Please kindly advise. Currently, i am looking into using HttpUnit on Django. Thank you.

Re: SQLobject vs SQLAlchemy

2008-06-16 Thread Pepsi330ml
Thank you. This is a very important piece of information / advice --~--~-~--~~~---~--~~ 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: SQLobject vs SQLAlchemy

2008-06-15 Thread Pepsi330ml
I'm interested to know also whether there is any adv in using anyone of the ORM. Using the Django ORM will provide ease of use. But is there a major adv to use Object or Alchemy over the Django ORM? Russ, You mentioned: "There's nothing stopping you from using SQLObject or SQLAlchemy in

Re: SQLobject vs SQLAlchemy

2008-06-13 Thread Pepsi330ml
oh...ok. i shall go read more about SqlObject then. The syntax is v close to Django ORM, tat's y i got myself mixed up. There are different when i compare all the codes side by side. The syntax for the declaration of the table is similar but Django ORM use syncdb to create the table in the

Re: SQLobject vs SQLAlchemy

2008-06-13 Thread Pepsi330ml
meaning all along i had been using Django ORM? --~--~-~--~~~---~--~~ 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,

Re: SQLobject vs SQLAlchemy

2008-06-12 Thread Pepsi330ml
humm... one of the installation steps for Django is to install MySQLdb or psycopgl. These are sqlobject. Therefore, i curious why they made such recommendation. There should be a gd reason to use them. --~--~-~--~~~---~--~~ You received this message because you

Re: SQLobject vs SQLAlchemy

2008-06-12 Thread Pepsi330ml
wanted some advice and opinion frm ppl that had use django with either one. I'm v new to django. Thus hoping to gather some experience here first. Thanks for the help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

SQLObject vs SQLAlchmey

2008-06-12 Thread Pepsi330ml
In Django Tutorial and Django Book, they recommended to use SQLOBject. Is there a specific reason for doing so? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

SQLobject vs SQLAlchemy

2008-06-12 Thread Pepsi330ml
In the Django Tutorial and Django Book, all the codes example was using SQLObject. Is there a specific reason for using Django with SQLObject instead of SQLAlchemy? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups