Re: Designing URLs

2007-03-06 Thread James Stembridge
Hi Filipe, On Mar 6, 2:53 pm, "Filipe Correia" <[EMAIL PROTECTED]> wrote: > http://somedomain.org/people/12 > http://somedomain.org/people/12/belongings/ If you think of the mapping of these URLs to files (I know there aren't actually any files involved, but it's a useful analogy) then what is "

Re: filebrowser update

2006-11-13 Thread James Stembridge
Hi Patrick, Looks very nice. I'm wondering what license applies to your code? Thanks, James. PS. In all likelyhood you don't want to commit *.pyc files to subversion, take a look at "global_ignores" in your ~/.subversion/config file for how to do this. --~--~-~--~~~---

Re: filebrowser update

2006-11-13 Thread James Stembridge
patrickk wrote: > got to check this - it should be open for everybody to use and change > (either commercial or not). Perhaps follow the precedent set by the Django core and use a BSD style license? --~--~-~--~~~---~--~~ You received this message because you are

Divide list in a template

2006-06-17 Thread James Stembridge
Hi, Is there a way to split a list using the built-in tags and filters? What I want is to take an object list from a generic view and iterate over the first and second halfs separetely. e.g. {% for object in object_list|firsthalf %} ... {% endfor %} {% for object in object_list|secondhalf %} ..