How to call random pictures thumbs in sidebar from pictures section?

2009-09-01 Thread Bins
On my django run website, I've this sidebar which calls 5 random pictures from entries.. here's the code that does it :- {% for entry in thumb_entries %} {% endfor %} My website, say www.example.com, has a section www.e

Re: How to run a static html page as a section of django website?

2009-08-22 Thread Bins
; >    SetHandler None > > > On Aug 21, 3:12 pm, Bins wrote: > > > > > mod_python. > > > On Aug 21, 6:37 pm, Heather wrote: > > > > So are you using mod_wsgi or mod_python? > > > > On Aug 21, 9:24 am, Bins wrote: > > > > &g

Re: How to run a static html page as a section of django website?

2009-08-21 Thread Bins
mod_python. On Aug 21, 6:37 pm, Heather wrote: > So are you using mod_wsgi or mod_python? > > On Aug 21, 9:24 am, Bins wrote: > > > > > Thanks Matthias, Carlos & Heather for your help. > > > I tried direct_to_template in url.py in django as suggested by Ca

Re: How to run a static html page as a section of django website?

2009-08-21 Thread Bins
wto/deployment/modpython/ > and look particularly at serving media files. > > Have fun :) > > On Aug 20, 4:42 pm, Bins wrote: > > > > > I've a django powered blog, sayhttp://example.com. I desire to make a > > sectionhttp://example.com/htmlpage/andrun a simple st