- Update requirements file before pushing to remote
- Create user in mysql with name: dbms, password: password
Add functionalities which are independent of Employee data
- pull from github
- delete previous orphanage_management_system mysql database and create new emply database
- delete migrations folder
- create new class model for your functionality in models.py
- Follow this order for creating tables: makemigrations child_app, migrate child_app, makemigrations, migrate
- Create a superuser for doing login through admin
- Add and edit html template files by copying template from room functionality or YouTube video repo
- Add new item to sidebar_template.html
- update urls.py
- update AdminDBvIews.py with required functions and raw sql queries
- Use objects.raw() for reading
- Use cursor() for updating, inserting, deleting
Use command python manage.py collectstatic
before python manage.py runserver
if the static files are not rendered.
Use mysql in new console or Workbench for checking updates to database