def resend_email_verification():
url = 'https://' +
request.env.http_host+URL('default','user',args=['verify_email']) + '/'+
auth.user.registration_key
mail.send(to=auth.user.email, subject=T('confirm your email'),
message='click this link to finish creating your account:' + url)
re
Hi, i have the following code:
db = DAL('mysql://user:pass@127.0.1/dbname',
pool_size=8,
check_reserved=['mysql'],
lazy_tables=True,
migrate=False)
response.generic_patterns = ['*'] if request.is_local else []
import copy
db._adapter.types = copy.copy(db._adapter.types)
db._adapter.types[
Allready fixed, it's required and validator expects a value in "lang" field
from at form submit, and i'm using custom form, and didn't include it.
I created field mannualy beacause migration when you have a mysql database
in most cases fails, especially auth_user table.
Anyway thanks :)
--
Res
Hi folks, an error like this, everything worked fine, and suddenly
Traceback (most recent call last):
File "/home/awsmarkets/webapps/web2pyuwsgi/web2py/gluon/main.py", line 543,
in wsgibase
BaseAdapter.close_all_instances('rollback')
File "/home/awsmarkets/webapps/web2pyuwsgi/web2py/gluon
4 matches
Mail list logo