Tag: web
-
How To Send Email In Django
Beginner Guide To Sending Emails using Django & SMTP In this article, we’ll take a look at how to setup Django to send email using SMTP. It’s quite simple to send emails using Django. I’ll walk you through the procedures in this brief tutorial so you can set up your Django application, and start sending…
-
Setup environment variables in Django
In this article, we’ll take a look at how to setup our Django project to utilize environment variables. Hence, our Django application can use environment variables to retrieve sensitive information that it requires for correct operation such as SECRET_KEY. Simply explained, environment variables are a collection of dynamically named values that are kept in the…
-
Flutter State Management Using Provider
My first Flutter project would have been a lot better if I had a solid state management solution implemented for my Flutter app. Choosing the best technology for state management , would have made my life far more easier. So in this article we’ll be taking a look at how to manage state with the…
-
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…
-
The Basics Of Django Web Development Framework
Django is a high-level Python web framework that promotes rapid development and simple, practical design. Django allows you to create better web apps faster and with less code. In this article, we will be taking a look at the basics of Django and it’s history. The Django Software Foundation owns the trademark Django, which is…
-
How To: Serve Django Static Files and Templates
CSS, JavaScript, and typefaces are all essential components of any modern online application. Django offers a lot of flexibility in terms of how these files are used, but this might be confusing for newbies. The Django web server will provide static files for local development, and only little configuration is necessary. The external package WhiteNoise,…
-
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…
-
Working with JSON Data in Python
In this article, you will learn how to parse, read, and write JSON Data in Python. The JSON (JavaScript Object Notation) format is a standard for storing and exchanging data between processes. Json was originally part of JavaScript, but it has since grown, gained its own standard, and currently exists independently of JS or any…
-
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…