Thursday, October 4, 2018

Re: redirect page

The problem is on lines 9-11. You're looping over albums and you keep assigning album url to '/music/' + album.id. When the loop is done, url will be that of the last album in the list.

What are you trying to do?

On Thu, Oct 4, 2018 at 1:48 PM Gear Crew <mohamed.khaled33388@gmail.com> wrote:


when you click on any link doesn't go to music/1/ 

it reloads that same content 





--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f512fee3-f61e-496b-9c1f-235dac8b7a7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANRKP0Scvkmxwg2zkZ6bxtKDAuW5ooLqVVBbsag6ySRk2uVN7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment