--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b67afb27-366b-4570-85a6-58900322fa3e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/AzIxhSQpGws/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAB%2BAj0tPL8y7zBwv8RvaBP29D77dALP84WVv_tbHRd1xELfveg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJTdXTH%2BH0BAqRsnKOpvyX75no01n7aUn7YvLgcOY-_jjVB8Wg%40mail.gmail.com.
2. Write a custom template filter that lets you supply an argumentNo. You can't pass an argument to a model method from the template. I see two options for you:1. Rework the method so that the argument is optional, and if the argument is not provided, the method uses a reasonable default (maybe item.product?).
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/AzIxhSQpGws/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/acd5df91-ac8d-4141-a6fc-ccf4447b6b8d%40googlegroups.com.
I understand what you say, however I know only call methods using {% url 'app.view.func'%} or {%}% app.view.func.As I understand this django-aap carton, the shopping cart in the session live. If it is in session I would haveaccess their methods and attributes. Well that's exactly what I'm not getting. Access method remove_single.In this href = "" is an image that removes the items you want to call the method remove_simgle.Actually I'm wrong in doing {% url%} because I do not want move pages. I just want to remove the item from the cart.