Shelagh-Lewins / authest

throwaway tutorial app in Django rest auth
1 stars 0 forks source link

Missing Settings.py #1

Open devgreek opened 5 years ago

devgreek commented 5 years ago

Settings.py file is missing in the repository and dealing with Authtest config would be buggy.. Please include the settings config file into this app.. this repository is very useful

Shelagh-Lewins commented 5 years ago

I'm glad the repository is useful :) Unfortunately I have lost the files off my computer and no longer have a copy of the settings.py file, which I think contained some sensitive data and that's why I didn't put it in the repository. I will try to find time to recreate it and check in a working version.

devgreek commented 5 years ago

Thanks for the reply, I was able to get the authentication part to work, I had to comment out the list and Item apps because for now, There's a bug probably due to an incompatible version my installed django in vitualenv

devgreek commented 5 years ago

What I really want to know is when the reset link has been sent to the email and the user clicks on the link, how will react frontend recieve it, Thanks I'll be waiting for the settings file

Shelagh-Lewins commented 5 years ago

Ah, I had that same problem. I don't think I ever got the password reset to work in React. In api/forms.py, I created a custom Django form. It's not ideal but at least got password reset to work at all.

devgreek commented 5 years ago

Thanks.. I thought so too or maybe I wasn't doing it right.. There's a new module called django-rest-passwordreset, it works for this issue.. I like how you wrote the frontend.. It was easy and well detailed to work with