A simple Django application that allows users to create and manage notes. It has a LogIn portal built with django's default user management system. A user can add notes in the app and when you browse the notes you will be able to see the notes you have created.
-
Download the code
-
Create an outlook email account.
-
In the file /home/mails.py , replace line 10 with the following code:
server = smtplib.SMTP('smtp-mail.outlook.com',587)
Line 14:
server.login('[email protected]', 'your_password')
Line 17:
message['From'] = 'Your Name <[email protected]>'
- Create a virtual environment and activate.
$ python -m virtualenv environment_name
$ environment_name/Scripts/activate
- Install Django.
$ pip install django
- Go to the project's root directory and run manage.py file with command runserver
$ python manage.py runserver
-
This will run a server on localhost at the address displayed on the sehll/cmd.
-
Go to the browser and paste that address to run the application.