Skip to content

This is the CS353 Database Systems course term project repository.

Notifications You must be signed in to change notification settings

besteguney/car-rental-system

Repository files navigation

car-rental-system

This is the CS353 Database Systems course term project repository.

Setup

examplesetting.txt --> settings.py

Create secret key

python manage.py shell -c 'from django.core.management import utils; print(utils.get_random_secret_key())'
Paste this to YOUR_SECRET_KEY

Create Admin Account

python manage.py createsuperuser

How to run

python manage.py migrate to create tables
python manage.py runserver to run server

After creating tables

After running first time you should add forign key to employee table
alter table employee add branch_id int;
alter table employee add foreign key (branch_id) references branch(branch_id);

About

This is the CS353 Database Systems course term project repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •