I could also imagine;

I may want to do this at some point.

URL().args.append('arg3')



On 1/12/12 10:20 AM, Anthony wrote:
What's your use case?

On Thursday, January 12, 2012 10:11:14 AM UTC-5, David J wrote:

    I think it would be a worthwhile feature to be able to get
    information
    from a URL helper object.

    For example,

    If we create a tuple of URL objects, and we want to loop through
    them,
    we may want to be able to extract things like vars and args that were
    set when the object was created.

    ie:

    urls =
    
(URL('default','action',args=['arg1','arg2']),URL('default','action',args=['arg1','arg2']))

    now I want to do something like

    for url in urls:
         print url.function


    This obviuosly does not work.


Reply via email to