The query string parameters in your URL need to be in key=value format, such as http://127.0.0.1:8000/news/?category=music
Sent from my iPhone
On May 25, 2012, at 6:01 AM, enemybass <dominikan999@gmail.com> wrote:
> Hi. How to get News by category name? My try: http://dpaste.com/752094/
> If I click category name in template, nothing happens -> in web
> browser is url: http://127.0.0.1:8000/news/category?music
>
> Thanks!
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment