microblog-api icon indicating copy to clipboard operation
microblog-api copied to clipboard

Token table clean up

Open dhernandezgt opened this issue 2 years ago • 1 comments

After test and use the api, Token table data is increasing. Should the table should overwrite new token?

dhernandezgt avatar Oct 27 '22 19:10 dhernandezgt

There is a cleanup function for tokens already. See Token.clean() in models.py. This is called here.

miguelgrinberg avatar Oct 27 '22 22:10 miguelgrinberg