How can I create unique urls which are unvalid after a time.

I have a page on which you can change your email of the account and I want to get an verification email with a link to change it which is unique so it just works everytime you want to change it and everytime with an new url. How can I create such a link?


Take a look at the PasswordResetView - both the referenced docs and the corresponding source code.
You can create a token in a similar manner to be handled by your views however you want them handled.