¡@

Home 

2014/10/16 ¤W¤È 12:02:45

jquery Programming Glossary: cyclops

How do I construct a Django reverse/url using query args?

http://stackoverflow.com/questions/2778247/how-do-i-construct-a-django-reverse-url-using-query-args

'cansmi.index' r'^cansmi ' 'cansmi.cansmi' url r'^depict ' cyclops.django.depict name cyclops depict I can go to that URL and get.. 'cansmi.cansmi' url r'^depict ' cyclops.django.depict name cyclops depict I can go to that URL and get the 200x200 PNG that was.. response I want to construct a URL for the named template cyclops depict given some query parameters. I thought I could do url..

How do I construct a Django reverse/url using query args?

http://stackoverflow.com/questions/2778247/how-do-i-construct-a-django-reverse-url-using-query-args

arguments My urls.py contains urlpatterns patterns '' r'^ ' 'cansmi.index' r'^cansmi ' 'cansmi.cansmi' url r'^depict ' cyclops.django.depict name cyclops depict I can go to that URL and get the 200x200 PNG that was constructed so I know that part.. urlpatterns patterns '' r'^ ' 'cansmi.index' r'^cansmi ' 'cansmi.cansmi' url r'^depict ' cyclops.django.depict name cyclops depict I can go to that URL and get the 200x200 PNG that was constructed so I know that part works. In my template from.. know that part works. In my template from the cansmi.cansmi response I want to construct a URL for the named template cyclops depict given some query parameters. I thought I could do url cyclops depict smiles input_smiles width 200 height 200 where..