Re: Beginner questions: on the official polls tutorial

2011-01-06 Thread skazhy
3. You need to restart it only after you modify apache config files. On 6 Janv., 02:52, Zheng wrote: > I started with the official tutorial to build the polls app. > Everything works fine. I then tried to use wsgi on Apache. Everything > still works, though with some defects explained below. I ha

Re: Beginner questions: on the official polls tutorial

2011-01-05 Thread Zheng Li
Thank you, Shawn. On Wed, Jan 5, 2011 at 8:24 PM, Shawn Milochik wrote: > 1. When you were running the development server, you were probably > executing from the www directory, so importing from 'mysite' would work. > When running in production, it has to be properly on the PYTHONPATH. > I actu

Re: Beginner questions: on the official polls tutorial

2011-01-05 Thread Shawn Milochik
1. When you were running the development server, you were probably executing from the www directory, so importing from 'mysite' would work. When running in production, it has to be properly on the PYTHONPATH. 2. You need the CSS and stuff for admin available on a server somewhere, and have your

Beginner questions: on the official polls tutorial

2011-01-05 Thread Zheng
I started with the official tutorial to build the polls app. Everything works fine. I then tried to use wsgi on Apache. Everything still works, though with some defects explained below. I have a few questions to ask as a beginner: Assume I create mysite under E:\www. 1. In the settings.py file, t