differentreality / supplies_tracker

Django project for tracking home and office supplies
GNU General Public License v3.0
5 stars 10 forks source link

Enable HAML and add items(db migrations, model, index template) #2

Closed differentreality closed 6 years ago

differentreality commented 6 years ago

Added items DB table with the following fields: name, description, price_bought, reimbursement, created_date

Add of new item is available in /admin

Mainly for testing stuff. We can drop/change the table later!

differentreality commented 6 years ago

To enable HAML you also need to run the following command on your pc sudo pip3 install django-hamlpy

pip3 if you are using python3 (otherwise just pip)

python --version will tell you your python version

It's possible that pip will fail, and you will need to install python-dev or python3-dev package first: sudo apt-get install python3-dev

differentreality commented 6 years ago

To install boostrap on your pc: sudo pip3 install django-bootstrap3