New URL template tag design

1 view
Skip to first unread message

JRocha

unread,
Aug 8, 2008, 8:56:53 PM8/8/08
to Django developers
Hi folks,

I have submitted a patch (7995) to make the URL template tag have a
more high-level parser (the way it is currently done doesn't allow for
example more than one space separating each template tag components).
Also I changed the arguments to be separated by spaces instead of
k=v,k1=v2 but keeping back compatibility.

Since it was the first time I submitted a patch, what should I do now?
I set the state as assigned and check the "I'm submitted a patch". Is
this the regular way to have it noticed? Because I think this would be
a nice design upgrade that should be able in the next big release of
Django.


Thanks in advance and sorry for the noob questions.

Malcolm Tredinnick

unread,
Aug 9, 2008, 10:20:32 AM8/9/08
to django-d...@googlegroups.com

There are lots o fthings that might be nice, but if we didn't change
this it also wouldn't be a showstopper. Introducing more than one way to
do something is also an anti-pattern in Python. So, at the moment, this
sort of thing is post-1.0.

Regards,
Malcolm


JRocha

unread,
Aug 9, 2008, 12:03:00 PM8/9/08
to Django developers
Hi,

>
> There are lots o fthings that might be nice, but if we didn't change
> this it also wouldn't be a showstopper. Introducing more than one way to
> do something is also an anti-pattern in Python. So, at the moment, this
> sort of thing is post-1.0.

Sure, the two way was only for back-compability but anyway, I
understand it is not a blocker.

Best regards,

Joaquim Rocha
Reply all
Reply to author
Forward
0 new messages