Thanks a lot, got it!

On Friday, January 25, 2013 12:01:09 PM UTC-5, Alessandro Molina wrote:
>
> Are you asking for the /userprofile/ url? In that case you are missing 
> the user id.
>
> Should be /useprofile/3, if you want your own profile ask for 
> /userprofile/me
>
>
> On Fri, Jan 25, 2013 at 5:33 PM, andrew b <[email protected] <javascript:>
> > wrote:
>
>> Hi I'm trying to get this turbogears user control panel app to work. It's 
>> located here: http://pypi.python.org/pypi/tgapp-userprofile/0.0.2
>>
>> I looked in the root controller of the app and it looks like my problem 
>> is here for validating the index or _default method:
>>
>> @validate({'user':SQLAEntityConverter(app_model.User)},
>>               error_handler=fail_with(404))
>>
>> It looks like maybe 'user' should be something else? I just get the 404 
>> error when i try to get to the /userprofile/ page. And I know this line is 
>> probably the culprit because I changed the 404 to 403 in the code, and the 
>> webpage display changes with it.
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TurboGears" group.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> Visit this group at http://groups.google.com/group/turbogears?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to