- Python pip
- Django version of 1.9 installed
- Django crispy_forms
- Django Queryset CSV v1.0.0
- Python xlwt 1.2.0
- Python pip - Install Python pip using
sudo apt-get install python-pip
. - Django v 1.9 - Install using
sudo pip install django==1.9
. - Django crispy form - Install using
sudo pip install --upgrade django-crispy-forms
. - Django Queryset CSV v 1.0.0 - Install using
sudo pip install django-queryset-csv
. - Python xlwt 1.2.0 - Install using
sudo pip install xlwt
Yes Add expenses
Yes Edit/modify expenses
Yes Export Expenses in .XLS format
Yes Export expenses in .CSV format
Yes Restore deleted expenses from trash
Yes Delete expenses permenantly
Yes Delete expenses permenantly
Display expenses by month
Search for an expense
Restore Individual items from trash
Export custom elements
- After installing the requirements, run
sudo python manage.py migrate
andsudo python manage.py makemigrations
. - Next, run the Django webserver using
sudo python manage.py runserver ip_address:port_no
. - [OPTIONAL] To create and set up a admin account use
python manage.py createsuperuser
. Enter the username, email-address and password to set it up.
- Well this expenses app does not have a very attractive UI, but does the job quite well.
- All of the templates use bootstrap CDN for CSS and JQuery.
- Alter the templates in
templates
directory - as per your need. - Add a static folder - if you do not want to use CDN. In the
settings.py
file under theexpenses_project
folder, add thisSTATIC_URL = '/static/'
. - For details on referencing your local llibraries and images, read this.
django_expenses_app (main folder)
---- expenses (app)
---- expenses_project (project)
---- main (app)
---- templates
---- manage.py
The main (app)
acts as a platform for the expenses(app)
. You can add more apps like expenses. Use the main as a landing page for accessing these apps.