Oh whoops, my bad.

I forgot about positional arguments; thanks for the reminder.

On Sep 15, 2008, at 4:04 PM, Malcolm Tredinnick wrote:

> This URL pattern says to capture everything after "success" and that  
> is
> then passed as the first positional argument to the view. That  
> argument
> is also the template keyword argument. That's why Django is giving you
> the error, because it's receiving two values for the first argument  
> for
> direct_to_template(): one via "template =..." and one via the captured
> group in the pattern reg-exp.
>
> It's unclear what you're trying to do, but you aren't going to achieve
> it with an unnamed capturing group in the URL pattern there.
>
> Regards,
> Malcolm

-- 
Cortland Klein <[EMAIL PROTECTED]> +1 408 506 9791
http://pixelcort.com/
2260 California Street #13
Mountain View, CA, USA 94040

Alumni, Business Management <[EMAIL PROTECTED]>
San José State University

Alumni Technical Advisor, Entrepreneurial Society <[EMAIL PROTECTED] 
 >
http://e-society.org/

Q&A Techie, Silicon Valley Mac User Group
http://svmug.org/

Member, Silicon Valley Google Technology User Group
http://sv-gtug.org/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to