In this tutorial, you will create a very basic Django application. The app shows the air temperature at your location, and the weather in other random places. It reads from a database, makes API requests, processes responses, and displays information in the UI. 00:00 - What will be covered in this tutorial 00:48 - Create and set up a Django project in PyCharm 01:50 - Boot the Django server 02:04 - Write your first Django view 04:55 - Run the function in the Python Console 08:10 - Implement business logic 10:52 - Configure URL routes in Django 13:27 - Create a Django template 15:14 - Import CSV files to the database and create a database connection to the application 16:54 - Reverse engineering: create a Django model from an existing database 17:21 - Run manage.py tasks to manage applications and databases for your Django project 22:27 - Visual improvements 22:43 - Style the app with SimpleCSS 23:08 - Further visual improvements Links: Download PyCharm: 🤍jb.gg/u8syo9 Read this tutorial on our blog: 🤍jb.gg/djangoapp Weather Forecast API: 🤍open-meteo.com/en/docs World cities database at Kaggle: 🤍🤍kaggle.com/datasets/juanmah/world-cities Simple.css Framework: 🤍simplecss.org/ Get started with Bootstrap: 🤍getbootstrap.com/docs/5.3/getting-started/introduction/#quick-start #webdevelopment #webdev #webdevelopmenttutorials #django #api #app #howto #tutorial
why
import geocoder as geocoder
?
this was really well done! As someone who uses pycharm every day - I learned a couple new shortcuts, and learned that you can drag a csv straight to sqlite! Game changer :D