I have made a material_view function like category_view (Is this the
wright way?) but it also returns a list of products that have both a
particular category and a particular type of material i.e filtered by
type of material.
I've added this in my urls.py:
(r'^(?P<parent_slugs>([-\w]+/)*)?(?P<slug>([-\w]+/)*)?(?
P<material_slug>[-\w]+)/$',
'localsite.views.material_view',{}),
The thing is that when the function is called i'm not directed to my
custom material.html.
Also what should i change(probably in my get_absolute_url function) in
order to get the right hyperlinks
(i.e href="{{material.get_absolute_url}}")
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.