Re: append_slash alternative: remove_slash

2009-06-15 Thread Patrick Taylor
On 15-Jun-09, at 6:50 PM, donquixote wrote: > > @Adys: > As I understand, Justin's "remove all slashes" was just a hypothetical > example. > > @Justin: > I agree that it's not about avoiding an illusion. It's just ugly and > unhandy, that's it. And yes, most non-django systems out there that I >

Re: append_slash alternative: remove_slash

2009-06-15 Thread donquixote
@Adys: As I understand, Justin's "remove all slashes" was just a hypothetical example. @Justin: I agree that it's not about avoiding an illusion. It's just ugly and unhandy, that's it. And yes, most non-django systems out there that I can think of do either have crappy old school urls, or nice on

Re: append_slash alternative: remove_slash

2009-06-15 Thread Adys
Are you sure you understood the original proposal? No one here wants to remove all slashes! Just "cleanup" the url: Clean: http://example.com/foo/bar Unclean http://example.com/foo/bar/ http://example.com/foo///bar http://example.com///foo//bar/// The last two would be a more aggressive sett

[GSOC] Multi-DB Update

2009-06-15 Thread Alex Gaynor
Hey all, Sorry about the delayed update, wanted to touch base with my mentor on a few small issues before firing this off. I spent last week augmenting ManyToManyFields to use a full Model internally, so we can remove some hard coded SQL. I've been doing this on a separate branch since it's a fa

Re: Focusing on inlines this week

2009-06-15 Thread PauloS
When dealing with FormSets, you can have them arbitrarily ordered because they accept a queryset argument. This is not true for inlines. The patch on Ticket #10263 make InLineFormSet consistent with FormSet and gives you complete freedom to filter/order inlines. I use it a lot and hope to see it

Re: Session framework improvements - ticket 3304

2009-06-15 Thread Rodolfo Stangherlin
I uploaded a new patch, with implementation to Python 2.3-2.5 (based on cephelo patch) and 2.6. I tested it with 2.5 and all is ok. -- Rodolfo On 6/12/09, Michael Radziej wrote: > > On Wed, Jun 10, Alex Gaynor wrote: > >> No, as I've stated Django *never* degrades functionality due to Python >>

Re: append_slash alternative: remove_slash

2009-06-15 Thread Justin Myers
I can appreciate the need for this setting (among other things, it might make migrating URLs from systems where this is more standard (e.g., Drupal) simpler), but I wouldn't go so far as to talk about an "illusion". Unless we're proposing to remove all slashes from all URLs--which is certainly po

Thoughts on emulating URL Mapping System in Server-Side Javascript environment

2009-06-15 Thread strife25
Hello, My team is currently doing an exploration and prototype for a server- side javascript environment. We are currently using the dojo toolkit and its implementation of the DTL templates to help develop this technology. Upon examination of Django's framework for development, I have come to rea

Re: Accessing dictionaries in templates in a sorted manner

2009-06-15 Thread Tom Evans
On Fri, 2009-06-12 at 04:48 +0700, Yuri Baburov wrote: > Hi Tom, > > SortedDict(yourdict) is a hard thing and takes a lot of tinkering? > don't you have python 2.4 to use sorted(dict.iteritems())? > can't write your own python function to do this in your views side? > > next, |dictsort:"0" is wo

Re: Focusing on inlines this week

2009-06-15 Thread Zain Memon
Yeah, I've been keeping a close eye on grappelli -- you guys have done some really cool stuff. I plan on refactoring the ordering APIs to make it possible to preserve reordering on errors. That's my next task :) Zain On Fri, Jun 12, 2009 at 1:34 AM, patrickk wrote: > > if you like to implement r