![]() Now add the apps in settings.py file INSTALLED_APPS = Ĭhange time zone according to your location which you will find at bottom part of settings.py. (calorieapp-kub3HwmJ) pip install django-filter Now let's install django-filter package which we will need a bit later. (calorieapp-kub3HwmJ)python manage.py startapp calories pipenv install django pipenv shell (calorieapp-kub3HwmJ) django-admin startproject calorie_app. I will try to keep it short since you can easily find tutorials for setting up django project. Go to the location you prefer on your computer from the command line and start. If you are on Mac or Linux the process is almost the same with some command line changes, which you can easily find from the internet. I have done this project on windows operating system. This might be a little hard for absolute django beginner, so basic knowledge of django will be helpful in understanding. Enough about other things, lets get to the coding part. I have been learning Django by myself for a while now so I thought it would be a good project to skill up my Django than following project tutorials. With this in mind, I thought how about I make a calorie tracker with python Django. So regular exercise and healthy diet is an important thing people are looking into. With the covid-19 outbreak this year it has been proved that covid-19 is more fatal to people with obesity. According to WHO in 2016, more than 1.9 billion adults, 18 years and older, were overweight. ![]() ![]() Maintaining a healthy lifestyle has been one of the main concerns of this century. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |