This contains full working login/SignUp System with forgot your password and after you get logged in you can also upload one photo and see it by clicking Image Tab on Nav Bar.
First, clone the repository to your local machine:
git clone https://github.com/9916103020/intern_work2.git
Install the requirements:
pip install -r requirements.txt
Apply the migrations:
python manage.py migrate
Collect the Static folder files:
python manage.py collectstatic
Finally, run the development server:
python manage.py runserver
The project will be available at 127.0.0.1:8000.
When you click on forgot your password link you will be taken to another page where it will be asking for email id you have registered with and then hit sumbit button.
Locally on your cpmmand line you will be given a link which will take you to password reset page.
Password Reset Page.
When you click on add image button and then click upload image.
Image will be saved in static folder with your username so that we can easily extract image to show users.
For extracting image from static folder using username.
Code:
<img src ="{% static ''%}{{ user }}.png">
Now you can click on Image tab on Nav bar to see your image you uploaded.