DJANGO SUPERUSER
USERNAME: sims
PASSWORD: sims
POSTGRES CONFIG
USERNAME: sims
PASSWORD: sims
Steps to run:
- Create a database in your postgres with name 'sims'.
- Create a postgres user with username = 'sims' and password = 'sims'.
Grant this user all privileges to the database 'sims'.
Command: GRANT ALL PRIVILEGES ON DATABASE sims TO sims; - Make migrations.
- Migrate.
- Run server.
Some Conventions:
- logoutStatus in the codebase would signify whether the logoutStatus of a particular user is True/False.
- Maintain sessions for each login/logout.
- For Non-Admin, pass non_admin = True in the context.
- For Admin, pass admin = True in the context.
- For Dealing-Admin, pass dealing_admin = True in the context.