Thanks for your help.

This is the error message I get :

  Internal error
  Ticket issued: myproject/127.0.0.1.2011-05-30.20-27-41.46efa4bd-
a623-4bb9-8a5d-3579d3693c8e

Here is the traceback :

  Traceback (most recent call last):
  File "gluon/restricted.py", line 181, in restricted
  File "C:/Users/Coco/Downloads/web2py_win/web2py/applications/
myproject/controllers/invitation.py", line 16, in <module>
  File "gluon/globals.py", line 133, in <lambda>
  File "C:/Users/Coco/Downloads/web2py_win/web2py/applications/
myproject/controllers/invitation.py", line 9, in invitation
  UnboundLocalError: local variable 'uuid' referenced before
assignment

I don't know exactly what the uuid variable is. I understand it is
some kind of a number.

I thank you very much.

Dwayne

On 30 mai, 18:32, pbreit <pbreitenb...@gmail.com> wrote:
> What's not working? One thing I noticed is that the URL in the email is not
> going to work because URL() creates a relative URL (/register/uuid). You'll
> need to do something like:
>
> message='clickhttp://mysite.com/register/%sto register' % uuid
> or
> message='click <a href=http://mysite.com/register/%s>register</a>
> to register' % uuid

Reply via email to