Currently, the projects on the dashboard are ordered by start date. The project managers want to see them in a different order.
As a result of this task:
- Projects on the dashboard must be ordered by end date descendingly.
- Projects that have not ended yet, must be shown first.
- Make sure that the projects' list in the Django admin has the same ordering.
-
Create and activate virtual environment
pipenv --python 3.10 pipenv shell
-
Rename all the
.template
files by removing the.template
extensions -
Copy the contents of
example.env
to.env
cp example.env .env
-
Populate the
.env
with real values. -
Setup your database
sudo -u postgres psql > create database ian_proje; > create role ian with password 'ian'; > alter role ian with login; > grant all on database ian_proje to ian;
-
Make migrations
./manage.py makemigrations ./manage.py migrate