Karen,
Thanks...that is exactly what happened. I copied the old function but
forgot to delete it
Thanks
On Jul 7, 7:05 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 7/7/07, Greg <[EMAIL PROTECTED]> wrote:
>
>
>
> > I done this before with just one variable and it's always been (?
> > P\d+
On 7/7/07, Greg <[EMAIL PROTECTED]> wrote:
>
> I done this before with just one variable and it's always been (?
> P\d+). Can I change the name from object_id to
> manufacturer_id and collection_id? And can I send two variables
> (three including request)?
Yes, you can change the names and you
According to the code I have, this should be working. Try changing it
to
def showcollection(request, manufacturer_id=None, collection_id=None):
and see if that makes any difference.
On Sat, 2007-07-07 at 16:07 -0700, Greg wrote:
> Hello,
> I have the following line in my urls.py file
>
> r'^(
Hello,
I have the following line in my urls.py file
r'^(?P\d+)/(?P\d+)/styles/$',
'mysite.rugs.views.showcollection'),
//
I have the following function defined in my views.py file
def showcollection(request, manufacturer_id, collection_id):
s = Style.objects.filter(
4 matches
Mail list logo