comments for pinax social

2011-05-06 Thread LIU Liang
I set up a social with pinax. In the topics of tribe, I want to add the notification for the reply of a comment. But can't find the place to add code. In the template of topic.html, I find that the comment is loan as a templatetags of threadcomment. don't know how to do ; ( -- You received this

Re: How to send notification when reply to a comment?

2011-05-06 Thread LIU Liang
I am using the pinax template social. In this social, there already exist the views and templates of comment. But as the structure is too complete, I don't know where to add the code to send notification when reply a comment in a tribe. On May 5, 7:41 pm, Shawn Milochik

How to send notification when reply to a comment?

2011-05-05 Thread LIU Liang
I want to send a notification and e-mail to the one who write the comment in a topic. But didn't know how to do. Could someone give me a hand? thanks a lot -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

How to send email from html?

2011-04-17 Thread LIU Liang
I want to realize the e-mail verification for the social network. But not clear about the code below: what does the '$' and the '#' mean? and the method 'submit()? {% trans "re-send verification e-mail" %} I want that after clicking the button 'Verify', it should send out an e-mail. However,

TypeError: get_models() got an unexpected keyword argument 'include_auto_created'

2011-04-07 Thread LIU Liang
I get a pinax project from SVN, then I new a django project for lance it. But when run as pydev: django. This error appears in Console: Traceback (most recent call last): File "/home/xavier/Programs/python/mysite-env/mysite/mysite/ manage.py", line 27, in execute_from_command_line()

How to send emails?

2011-03-30 Thread LIU Liang
Hello, I want to realize the verification of email when sign up. But I don't know how to send a email. for example with a account of gmail. I have tried the method following, but there's errors. Could anybody help? I create a django project, and add email configuration in settings.py. then