Re: how to: munge words and numbers into a URL, then reverse it ?

2009-01-27 Thread Puneet Madaan
oded)s.jpg > > so that I can easily delete all thumbs when the object is deleted > > currently I create thumbs on demand via template tags. > this also leaves dead thumbs laying around. > > > > > > On Tue, Jan 27, 2009 at 5:43 PM, Puneet Madaan <puneetmad...@gmail.com&g

Re: how to: munge words and numbers into a URL, then reverse it ?

2009-01-27 Thread Puneet Madaan
I am assuming that you already have an idea of how your datastring will look like, and what data it is containing... I am considering *"music artist 32L 2L 100 100"* as input data so here is a example... L1 = "music artist 32L 2L 100 100".encode("hex") > L2 = zlib.compress(L1) > L3 =

Re: Cannot serve static files

2009-01-22 Thread Puneet Madaan
Puneet On Thu, Jan 22, 2009 at 5:40 PM, john <johnwalla...@gmail.com> wrote: > > Thanks but no change. > > On Jan 22, 11:30 am, Puneet Madaan <puneetmad...@gmail.com> wrote: > > beside href="{MEDIA_URL}css/styles.css"> > > you need to correct settin

Re: Cannot serve static files

2009-01-22 Thread Puneet Madaan
beside you need to correct settings.py to SETTINGS_FILE_FOLDER = os.path.dirname( os.path.abspath(__file__)) On Thu, Jan 22, 2009 at 5:26 PM, john wrote: > > Thanks but no change. > > On Jan 22, 11:02 am, Dj Gilcrease wrote: > > change > > > >

Re: I don't even know where to begin writing this template-tags

2009-01-21 Thread Puneet Madaan
try this... its complete tutorial which include template tags too.. will help you to understand http://www.webmonkey.com/tutorial/Use_Templates_in_Django greetings, Puneet On Wed, Jan 21, 2009 at 2:13 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > > On 21 jan, 00:32, Andrew