Hi,

I'm working on porting a legacy site (addons.mozilla.org) where all
urls begin with /locale/app/:

e.g.

https://addons.mozilla.org/en-US/firefox/
https://addons.mozilla.org/ja/firefox/addon/5890
https://addons.mozilla.org/en-US/thunderbird

and in some cases, the application is not needed:

http://www.mozilla.com/en-US/about/legal.html

I know I can use django-localeurl to capture the locale, but I'm
wondering if there's a more generic middleware that can capture
anything (and store it in the request object) based on configuration?

Cheers,

-d

--

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


Reply via email to