suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread gs412
In Django1.5 {% url app_views.client %} will change to > {% "url app_views.client" %} I think it is a stupid idea Why so many people use django? becouse of 'DRY', but now django become more and more 'dirty' -- You received this message because you are subscribed to the Google Groups "Dja

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Shaggy
from where U have that info? and btw. is there repo for developing 1.5 with python3 support? W dniu wtorek, 27 marca 2012, 10:22:18 UTC+2 użytkownik gs412 napisał: > > In Django1.5 > > {% url app_views.client %} > > will change to > >> {% "url app_views.client" %} > > > I think it is a stupid

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Łukasz Rekucki
On 27 March 2012 10:22, gs412 wrote: > In Django1.5 > >> {% url app_views.client %} > > will change to >> >> {% "url app_views.client" %} > > > I think it is a stupid idea Did you read the rationale for this change? How do you want to enable passing context variables as view names? Did you notice

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Jonathan French
That example is incorrect. {% url app_views.client %} will not change to {% "url app_views.client" %} it will change to {% url "app_views.client" %} which, as you can see, enables passing the view from something other than a literal string. On 27 March 2012 09:22, gs412 wrote: > In Django1

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Ramiro Morales
On Tue, Mar 27, 2012 at 5:22 AM, gs412 wrote: > In Django1.5 > >> {% url app_views.client %} > > will change to >> >> {% "url app_views.client" %} > > > I think it is a stupid idea > Why so many people use django? becouse of 'DRY', but now django become more > and more 'dirty' Please post referen

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Alex Ogier
On Mar 27, 2012 8:45 AM, "Ramiro Morales" wrote: > > On Tue, Mar 27, 2012 at 5:22 AM, gs412 wrote: > > In Django1.5 > > > >> {% url app_views.client %} > > > > will change to > >> > >> {% "url app_views.client" %} > > > > Please post references from where did you get this nonsense. It is > comple

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Łukasz Rekucki
On 27 March 2012 14:22, Shaggy wrote: > from where U have that info? Docs and Django 1.3 release notes: https://docs.djangoproject.com/en/dev/releases/1.3/#changes-to-url-and-ssi > > and btw. is there repo for developing 1.5 with python3 support? > AFAIK, not yet. There's a features/py3k branch

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Aymeric Augustin
On 27 mars 2012, at 10:22, gs412 wrote: > In Django1.5 > > {% url app_views.client %} > will change to > {% "url app_views.client" %} > > I think it is a stupid idea > Why so many people use django? becouse of 'DRY', but now django become more > and more 'dirty' Hello, django-developers isn

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Łukasz Rekucki
On 27 March 2012 14:44, Łukasz Rekucki wrote: > On 27 March 2012 14:22, Shaggy wrote: >> >> and btw. is there repo for developing 1.5 with python3 support? >> > > AFAIK, not yet. There's a features/py3k branch, but I'm not sure if > it's up to date with Tarek's bitbucket repo. My bet is that py3k

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread gs412
Less symbol is the tide, the future. for example: coffeescript、sass、haml、slim and python, there are all less symbol, this feature make developer fell well passing context variables for tag "url" is not a good idea, it make the work from easy to hard > {% with url_name="client-detail-view" %} >

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Alex Ogier
On Mar 27, 2012 3:26 PM, "gs412" wrote: > > Less symbol is the tide, the future. for example: coffeescript、sass、haml、slim and python, there are all less symbol, this feature make developer fell well > > passing context variables for tag "url" is not a good idea, it make the work from easy to hard

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Juan Pablo Martínez
On Tue, Mar 27, 2012 at 4:26 PM, gs412 wrote: > Less symbol is the tide, the future. for example: > coffeescript、sass、haml、slim and python, there are all less symbol, this > feature make developer fell well > > passing context variables for tag "url" is not a good idea, it make the > work from ea

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Ian Kelly
On Tue, Mar 27, 2012 at 1:26 PM, gs412 wrote: > Less symbol is the tide, the future. for example: > coffeescript、sass、haml、slim and python, there are all less symbol, this > feature make developer fell well This is incorrect. If Python were all about "fewer symbols", then we would favor tabs ove

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Russell Keith-Magee
On 28/03/2012, at 3:51 AM, Ian Kelly wrote: > On Tue, Mar 27, 2012 at 1:26 PM, gs412 wrote: >> Less symbol is the tide, the future. for example: >> coffeescript、sass、haml、slim and python, there are all less symbol, this >> feature make developer fell well > > This is incorrect. If Python were