Url patterns don't tend to change at runtime, right?
I don't think resolving urls one by one via ajax calls is going to work. 
Reimplementing the resolve/reverse mechanisms in javascript - or better yet, 
using the "native" resolve/reverse code to generate javascript functions 
that take args based on the url patterns.

some_ns.urls.my_view( 123, {slug:'foo'} )

You'd just have to analyze the url patterns once. Only think that would get 
tricky would be named views, eg having more than one pattern matching a 
name. I don't know if that would be considered bad practice generally, but 
it works on the python side -  kind of like overloading your urlpatterns.

-- 
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