hello

i use this form to have a choice list and change to another on select
 <p >
        <form action="/cartes/" method='GET'>
          <select name="" onchange="this.form.submit()">
            <option value={{carte.id}}>{{carte.titre}}</option>
          {% for carte in latest_carte_list %}
            <option value={{carte.id}}>{{carte.titre}}</option>
          {% endfor %}
      </select>
</p>

and it is return a url like http://mywebsite/cartes/?=id

This is my urls line to use  http://mywebsite/cartes/id what i want to have

    (r'^(?P<carte_id>\d+)', 'suivix'),

and it is not working great :o(

so i don't know what to write in my form to have  /cartes/id or in my
urls.py file to translate /cartes/?=id in /cartes/id ?

Thanks for your help

Tonton

-- 
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