Is it possible to create a new user profile using the tgapp-userprofile. 
Because when I'm looking into its root controller, all the functions are 
using predicates.not_anonymous(). Which implies to me that only users whose 
userid is already created are not allowed to have the profile. There is no 
option for registration of the new user. Could any way is suggested for 
this thing.
Thanks a lot for your suggestion and time.

Neeraj



On Friday, 25 January 2013 22:31:09 UTC+5:30, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to