On 13 Mrz., 16:32, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
> Jacob Kaplan-Moss wrote:
> > I've been thinking about this a bunch myself. I came up with some
> > ideas similar to yours, but so far they're just in my head. I'll try
> > to write 'em up, but in the time being I'd love to see you (or
> > someone) start hacking on some code!
>
> Ok!
>
> For the reference:http://code.djangoproject.com/ticket/3717

But please make the url tag independent of the current active language
cause the urls are!
Her is an example I came a cross when writing a wrapper for
object_detail to be able to use the url tag:
Url to the detail page is /2007/mar/23/slug
I used the url tag and thanks to my wrapper I was able to use the
wrapper-view as view and gave it the arguments the generic view
needed.
To get the dates I used the date filter which filters the month
according to my language-setting. This is "de-at" in my case and
obviously the url tag didn't came back wth an url cause the result
was /2007/Mär/23/slug!

I don't know whether making the gv_url_tag language independent is a
good idea, but it would solve my problem :)

Thx, Florian


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to