Re: javascript view for named urls

2013-03-31 Thread Jonathan Slenders
As Andrew says, some "rely" on the obscurity of this server side information. The same can be said of translations. I'd like to see better support for javascript preprocessing. gettext(...) in javascript could be preprocessed if the language is known. url_resolve('name', { ...}) could probably a

Re: javascript view for named urls

2013-03-30 Thread Bernhard Ja
Am Freitag, 29. März 2013 21:05:05 UTC+1 schrieb Andrew Ingram: > > I like the concept of this, because it's something I've often wanted > myself. But I want to bring up a couple of points: > > 1) Some websites rely on the obscurity of some of their URLs as an > additional security measure (i.e

Re: javascript view for named urls

2013-03-29 Thread Andrew Ingram
On 29 Mar 2013, at 17:22, Bernhard Ja wrote: > Hello together, > this is my first post to the Django developers list. Please let me know if > this topic is better placed on Django users :-) > > For i18n there is a javascript_catalog view we can use to access translations > in javascript. > Acc

javascript view for named urls

2013-03-29 Thread Bernhard Ja
Hello together, this is my first post to the Django developers list. Please let me know if this topic is better placed on Django users :-) For i18n there is a javascript_catalog view we can use to access translations in javascript. Accessing django urls in javascript is IMHO an annoying task, bu