Re: http links without using URLs.py

2009-01-27 Thread May
Thanks! Ana On Jan 27, 9:51 am, Adam Stein wrote: > Eggs seems to be something related to python packages, not sure exactly > what they are used for.  I needed the PYTHON_EGG_CACHE because my web > server could not write to the default egg cache directory and so I had >

Re: http links without using URLs.py

2009-01-27 Thread Adam Stein
Eggs seems to be something related to python packages, not sure exactly what they are used for. I needed the PYTHON_EGG_CACHE because my web server could not write to the default egg cache directory and so I had it use a temp place. Perhaps somebody else can better explain eggs. On Tue,

Re: http links without using URLs.py

2009-01-27 Thread May
Hello Adam, Thanks! I have already set up several sections for the django site, so I must not have the syntax quite right for apache to ignore the static links. I will work on it. One last question? What are eggs? SetEnv PYTHON_EGG_CACHE /tmp/.python-eggs Thanks, Ana On

Re: http links without using URLs.py

2009-01-27 Thread Brian Neal
On Jan 27, 11:06 am, May wrote: > Hello, > > The tutorial suggests not serving the static pages with this method on > a permanent basis.  Are you using this method for your production > server?  I'm using windows/apache/modpython and I've tried using the > IP address and

Re: http links without using URLs.py

2009-01-27 Thread Marco Buttu
On Tue, 2009-01-27 at 08:42 -0800, May wrote: > I'm converting PHP pages to Django. I'm using base.html for my > formatting. I've included the left-side bar in the base.html, which > includes links that do not require using a database, such as the > "contact us" page. Since I'm using

Re: http links without using URLs.py

2009-01-27 Thread Adam Stein
I ONLY use it for development with the Django server. I only set up to serve static pages when DEBUG = True (as they show toward the bottom of the page). No need to change links on the production server (apache + mod_python) because the URLs are a different location than what I have set up for

Re: http links without using URLs.py

2009-01-27 Thread May
Hello, The tutorial suggests not serving the static pages with this method on a permanent basis. Are you using this method for your production server? I'm using windows/apache/modpython and I've tried using the IP address and still run into django url requests. Do you know of a way to get

Re: http links without using URLs.py

2009-01-27 Thread Adam Stein
Check out: http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs I have Django serve static files during development so that all my links that don't need to go thru Django work. On Tue, 2009-01-27 at 08:42 -0800, May wrote: > Hello, > > I'm converting PHP pages to Django. I'm

http links without using URLs.py

2009-01-27 Thread May
Hello, I'm converting PHP pages to Django. I'm using base.html for my formatting. I've included the left-side bar in the base.html, which includes links that do not require using a database, such as the "contact us" page. Since I'm using localhost for testing my link looks something like