Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add verify_code function to user #90

Merged
merged 3 commits into from
Jun 17, 2014

Conversation

teravest
Copy link
Contributor

No description provided.

"""
conn_handler = SQLConnectionHandler()
if code_type == 'create':
sql = ("SELECT user_verify_code from qiita.%s where email = '%s'" %
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use qiita.{0} and .format(cls._table) to get the table into the string. Then you can pass email as data.

josenavas added a commit that referenced this pull request Jun 17, 2014
add verify_code function to user
@josenavas josenavas merged commit d08c7dc into qiita-spots:master Jun 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants