Tag: backend
-
How To: Deploy Django using Docker & MySQL
During the setup of MySQL with Django using Docker, I ran into few issues. As a result, I decided to write this article to help people trying to figure out on how to deploy a Django app using Docker and MySQL. MySQL is a relational database management system that is free and open-source. “My” is…
-
Upload Files using Python & Flask
Uploading files is a regular job in web applications. You’ll learn how to achieve it with Python Flask in this tutorial. It’s quite easy to upload a file into a Flask web application using the Flask file. To publish the file to the URL, you’ll need an HTML form with the enctype property set to…
-
Send Encrypted Emails using Python and SMTP
How to send encrypted emails using Python, SMTP and a Gmail account? Privacy is frequently lost as online data harvesting and security concerns grow. Because online privacy is so lacking, I began to consider a solution to encrypt messages. Because Python is such a versatile language, I wanted to see what I could achieve with…
-
Basic Django Database Queries
In this article, we will take a look at basic Django database queries, throughout the tutorial I’ll provide you with helpful code examples that will aid your learning about basic Django database queries. Django ORM is a strong abstraction that allows you to store and retrieve data from a database without having to write your…
-
How To Reset Django Database
When working with databases, we frequently find ourselves in circumstances where we must completely reset the database. The database may have been loaded with too much useless data as a result of the addition or removal of some database tables, changes in the database design, logic and relationship concerns, or the database was populated with…
-
Django vs Flask: Which Framework to choose?
Do you want to know which framework, Flask or Django, is superior for web development? Many Python-based web frameworks make it easy for developers to quickly create scalable apps. These frameworks can handle everything from simple to sophisticated websites. Django versus Flask is the most talked-about of the numerous popular options, and for good reason:…
-
Django Authentication using Google OAuth
Open Authorization (OAuth) is a service that allows websites or apps to share user data with other websites without requiring a password from the user. Users can use the same account to log in to numerous websites without having to create new credentials. Google, Facebook, and GitHub are some of the most common OAuth service…
-
How To: Use Bootstrap 4 In Django
Django is an extremely capable backend framework. If it doesn’t look good, a functional website isn’t very useful. Users will determine the value of your website based upon it’s aesthetics. As a result, it is critical that the website’s UI and User Experience are excellent in order for you to increase traffic. Django is a…
-
10 Tips To Improve Django Website Performance
After years of working with Django, I’d like to share some tools and techniques for optimising Django frameworks performance, and identify bottlenecks holding your Django application hostage. So, because performance is a hot topic, let’s talk about how to make Django run quicker and better. Deploy your app using nginx + uWsgi/gunicorn. Use a CDN…
-
How to Learn Javascript | A Practical Guide To Javascript Development
JavaScript is one of the web’s most powerful and adaptable programming languages. Most websites, including this one, use it to fuel dynamic behavior. To argue that JavaScript is a developer’s best (digital) friend is an exaggeration, but it would be difficult to get by without it. A developer’s odds of not having to learn or…