On 17 March 2011 16:58, Carl Meyer <c...@oddbird.net> wrote:
> Hi Marco,
>
> On 03/17/2011 10:44 AM, Marco Louro wrote:
>> I don't really know how to approach this issue the best way, so I'm
>> just going to be direct, I'd love to see Django provide support for
>> django.core.urlresolvers.reverse (at least) on the client (in
>> JavaScript).
>
> I think this is really interesting, and I'd like to play with your
> approach. It does seem to me like something that, while quite useful for
> some projects, not all projects will need, and that it ought to stand on
> its own as a reusable app for quite a while to prove its usefulness and
> shake out any issues (and probably just stay that way).

I would be more then interested in contributing to such app. I think
it would be a good addition to i18n JS library that Django provides.

Right now, I'm using my own view that generates a dictionary from all
*named* views and provides a simple reverse() with syntax similar to
yours. My biggest issues right now are a) efficient caching b) making
it work well with asset managers. Maybe I'm missing something, but
last time I checked staticfiles didn't had an option to include
dynamically generated content.

-- 
Łukasz Rekucki

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to