Django : How can I implement a remember me key on my login page
I have an idea which is by adding another filed like below:
secret_code = models.CharField(max_length=6)
The main idea behind using the secret_code filed is to recover your username & password in login page. 
Also i have thinking about another idea which is by storing your MAC address or IP address automatically but this is not going to work if you had switched to login from another device.
Actually rather than just code , I want to know all the topics I have to study for making a remember me key on my login page.
Its a inbuilt django login page and i have a bit knowledge of sessions and cache but not enough for making a remember me key and havent user caching yet.
If you can supply me with a answer or a source , that will be helpful