On 17 oct, 17:59, hao he <speed...@gmail.com> wrote: > with the follow code/config,one request lead to view function was > execute twice。 > > -------------------------------------------------------------------------------------------------- > template: > <a href=" {%url ad_ader_basic ad_id%} "basic info</a>
If that's copy-pasted from your code (as it should be) then your <a> tag is incorrect - it should be: <a href="{%url ad_ader_basic ad_id%}">basic info</a> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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 -~----------~----~----~----~------~----~------~--~---