while pulling from git hub i lost my secret key which i have updated. is there any way to obtain secret key for the same project.
while pulling from git hub i lost my secret key which i have updated. is there any way to obtain secret key for the same project.
run :
python manage.py shell
write and enter the following lines sequentially:copy this secret_key to your settings.py SECRET_KEY. And reload this server. If it will not work, refresh the page with
ctrl+shift+r
, delete cache.If it will not work again, try to remove all rows from django_session table where in your database.
My English skills are not good, sorry about that.