Django

maintained by Django Software Foundation https://www.djangoproject.com/

Django is a high-level Python Web framework that promotes rapid development and simple, practical design. Django is a trademark of the Django Software Foundation and can be freely used in a variety of projects.

What is Django

Django is a web development framework that makes it easier to create and maintain high-quality websites. Django makes the development process simple and time-saving by eliminating repetitive tasks. Its extensive ecosystem of packages makes it highly versatile for handling pretty much any type of project.

It's great for quickly starting a new project for spending less time on development. When necessary it can be made to scale easily.

Design Philosophy

The following design philosophies are included with Django:

  • Django is loosely coupled, which means that each element of its stack is independent of the others.
  • Less Coding Less code means faster development.
  • DRY stands for "Don't Repeat Yourself." Instead of repeating the same process over and over, everything should be developed only once.
  • Django's philosophy is to do everything it can to make development as quick as possible.
  • Django maintains a strict clean design throughout its own code, making it simple to follow best web-development practices.

Why use Django

Here are a few benefits of using Django that can be found here:

  • Support for Object-Relational Mapping (ORM) Django acts as a link between the data model and the database engine, and it supports a wide range of databases such as MySQL, Oracle, and Postgres. Django's Django-nonrel fork also supports NoSQL databases. MongoDB and Google App Engine are the only NoSQL databases that are currently supported.
  • Django's built-in internationalization system makes it possible to create multilingual websites. As a result, you can create a website that supports multiple languages.
  • Django has built-in support for Ajax, RSS, Caching, authentication
Added By vladimir

Implementation Concepts

A technology specific concept proposes a solution to a specific problem

Middleware is a framework of hooks into Django's request/response processing, as described in the official Django documentation. It's a simple, low-level "plugin" system for changing Django's input and output globally.

Collections of Resources

A collection of selected resources for explaining or learning about a specific topic about Django

Test iulian

Created by iulian
Django from scratch for beginners

Resources

Articles, tutorials, courses or books

Django: Request/Response Cycle

March 23, 2019 by Sarthak Kumar Article

1 Reviews
To get a better understanding of the Django framework, we need to know how requests are made and how the end result is delivered to the user. In this article we go over the various stages of requests and how it's processed at each stage to form the final server response. edited

Official Django Beginner Tutorial

Jan. 1, 2020 by DjangoProject Article

1 Reviews
The first resource to checkout when starting to learn about Django. The official tutorial is comprehensive and provides detailed instructions on how to create a simple "poll" app.

Small Open-Source Django Projects to Get Started

Nov. 23, 2015 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is about how to create small, open-source Django projects to help beginners get started with the Django framework. It covers the basics of Django setup, URL routing, and project organization. The projects presented are useful for getting acquainted with the Django ecosystem and learning how to solve common problems.

How to Use Python Decouple

Nov. 26, 2015 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use the Python Decouple library to separate project-related parameters from source code. It provides a code example to demonstrate how the library works.

Starting a New Django 1.8 Project

Nov. 30, 2015 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides useful tips on how to start a new Django project. First, a Python virtual environment is created using virtualenv. This is useful because it allows multiple Django projects to be maintained without conflicts. Next, the project's folder is created and all dependencies are placed within it. Finally, a Django app is created and placed in a folder within the project. The source code of the project is also available on GitHub.

How to Use Django Widget Tweaks

Dec. 4, 2015 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial is about how to use Django widget tweaks to add features to Django forms. It covers the basics of the package and gives some examples of how it can be used.

Working with Django View Decorators

Dec. 7, 2015 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers how to create a custom Django view decorator. It walks through the steps of creating an app level decorator and provides a sample scenario to illustrate.

Django Tips #1 redirect

May 5, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This Django tutorial provides tips on how to use the redirect function. It covers the different types of arguments that can be passed to the function, as well as the benefits of using it.

Django Tips #2 humanize

May 9, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a brief introduction to the Django Humanize template filter. It explains how to install the filter and use it in your templates. It provides examples of how to use the filter to format numbers and dates.

How to Setup a SSL Certificate on Nginx for a Django Application

May 11, 2016 by Vitor Freitas Article

No reviews yet. Contribute
The following tutorial explains how to set up a SSL certificate on Nginx for a Django application. It covers the necessary steps to secure the entire application, including the login, payment, and password change pages.

Django Tips #4 Automatic DateTime Fields

May 23, 2016 by Vitor Freitas Article

No reviews yet. Contribute
In this tutorial, we learn how to use the automatic date and time management features in Django. We see two code examples, one for setting the date only when the instance is created, and one for updating the field every time the method is called. We also learn that both arguments will trigger the field update event, meaning that when an object is created, both the date and time will be filled.

How to Send Email in a Django App

June 13, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is about how to set up Django to send emails. It covers the necessary steps for common email-related tasks such as password resets, account activations, and notifications.

Django Tips #5 How to Merge QuerySets

June 20, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to merge two or more querysets into a single queryset without losing the capabilities of performing code example, code example, code example, etc.

Date Template Filter

June 21, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a list of the most commonly used Django date template filters, along with examples of how they can be used to format dates according to a given format. It also provides a reference to the Django documentation on date formatting.

How to Use Django's Built-in Login System

June 27, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This is a tutorial on how to use Django's built-in login system. The tutorial covers how to login and logout, as well as how to customize the login view.

Django Tips #6 get_or_create

July 14, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial describes how to use the Django get_or_create() method to retrieve an object from a database, optionally creating the object if it doesn't exist.

How to Create a Custom Django Middleware

July 18, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create a custom Django middleware. It describes what middleware is, how it works, and how to create a middleware class. It also provides an example of how to register a middleware class in a Django project.

Django Tips #7 How to Get the Current URL Within a Django Template

July 20, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to get the current URL within a Django template. It covers the defaultcode exampleconfiguration and provides examples of how to get the current path, path with querystring, domain, and path and querystring.

How to Extend Django User Model

July 22, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to extend the Django user model. It provides four different methods for doing this, and explains when each method is appropriate.

Django Tips #8 Blank or Null?

July 25, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is about the difference between blank and null in Django models. It describes how to use null to define if a given database column will accept null values or not, and how to use blank to define if a given model field will be empty or not.

How to Reset Migrations

July 26, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial shows how to reset the Django migration system. The first scenario describes how to perform a full clean up when the project is still in the development environment. The second scenario describes how to reset the migration history when the project is in a production environment.

How to Create Django Signals

July 28, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use Django signals, which allow decoupled applications to get notified when certain events occur. It covers the built-in signals and gives general advice on best practices.

How to Export to Excel

July 29, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial describes how to export data from a web application to an Excel file. The first option described uses a third-party module named xlwt, while the second option uses standard HTML code.

How to Upload Files With Django

Aug. 1, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers how to handle file uploads with Django. First, the basics of file upload are explained, including how to set the required HTML attribute and proper model fields. The Django file upload mechanism is then described in detail, including how uploaded files are stored on the filesystem. Finally, the source code for examples used in this post is provided.

How to Split Views Into Multiple Files

Aug. 2, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This is a tutorial on how to split views into multiple files. It discusses the benefits of doing this and gives a step-by-step guide on how to do it.

How to Paginate with Django

Aug. 3, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to paginate data in Django. It covers how to paginate using function-based views and class-based views.

Django Tips #9 How to Create a Change Password View

Aug. 4, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a simple code example of how to create a change password view in Django. The code example is functional, and demonstrates how to take an authenticated user into account when changing passwords. After the form is submitted, the code example calls thecode exampleto ensure the user's authentication session is not invalidated.

How to Use Flake8

Aug. 5, 2016 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial explains how to use Flake8, a Python library that checks code against coding style and programming errors.

How to Export to PDF

Aug. 8, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to export data to a PDF file using Django. It covers two methods: returning a PDF response and displaying the PDF in the browser. It also provides an example code for each method.

How to Deploy Django Applications on Heroku

Aug. 9, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to deploy a Django application on the Heroku platform. It covers the basics of signing up for and using the Heroku Toolbelt, as well as preparing an existing Django application for Heroku deployment. Finally, it provides a code example of the necessary changes to a project in order to deploy it on Heroku.

Exploring Django Utils #1

Aug. 10, 2016 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial is on exploring the Django source code and discovering useful utility functions. The author provides examples of some of these functions. This is a great reference guide for those who want to delve deeper into the source code and learn more about the inner workings of Django.

How to Use django-import-export

Aug. 11, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use the django-import-export library to import and export data. It covers the basics of installation, configuration, and use of the library. It also provides some code examples to help illustrate how the library works.

Django Tips #10 AuthenticationForm Custom Login Policy

Aug. 12, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial describes how to create a custom login policy in Django. It explains how to override thecode examplemethod in thecode exampleform to add custom verification.

How to Create a Password Confirmation View

Aug. 15, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create a password confirmation view in a web application. The tutorial explains how to use the built-incode exampleandcode examplefunctions to create a form to gather information from the user and how to use a decorator function to determine if the user needs to be asked to confirm his/her password.

Django Tips #12 Disabling Migrations to Speed Up Unit Tests

Aug. 19, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a tip on how to speed up unit tests by disabling model migrations. It explains how to create a separatesettingsfile for this purpose and then run the tests. It also provides information on how to disable migrations for older Django versions using South.

Django Tips #13 Using F() Expressions

Aug. 23, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers how to use F()expressions in Django. F()expressions are used to refer to model field values directly in the database, and they provide a more efficient way to update model fields. The tutorial also covers how to use F()expressions to annotate data and filter data.

How to Create a One Time Link

Aug. 24, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create a one time link for password reset in Django. Django uses a cryptographic approach to generate the password reset tokens, which is safe and reliable. The tutorial provides an overview of the Django code example and explains how to extend it to generate a one time link. The class has two public methods - make_token and check_token - which generate a hash value with user related data and check whether the token is valid. The default value for the password reset token is 7 days.

How to Work With AJAX Request With Django

Aug. 29, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial shows how to use AJAX requests with Django. It covers the basics of AJAX, explains how to use jQuery to make AJAX requests, and provides a code example.

Django Tips #14 Using the Messages Framework

Sept. 6, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides tips for using the Django messages framework to keep users informed about what is happening in an application. It covers configuring the messages framework, displaying messages at different levels, and using tags to target messages.

How to Create a Password Reset View

Sept. 19, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial guides you through the steps of creating a password reset view in your application. You will need to create four views: password_reset, password_reset_done, password_reset_confirm, and password_reset_complete. The password_reset view will be used to gather the email address of the user, and the other three views will be used to change the password and send the user notification of the successful change.

Django Tips #15 Using Mixins With Class-Based Views

Sept. 27, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides tips on how to use mixins with class-based views in Django. It showcases an example to illustrate the rules for mixin usage, and mentions some of the built-in mixins available in Django 1.9.

How to Use Django's Flatpages App

Oct. 4, 2016 by Vitor Freitas Article

No reviews yet. Contribute
In this tutorial, one will learn how to use Django's Flatpages App. Django is a web application framework that helps manage one's website. The Flatpages App enables the user to create flat HTML pages and store it in the database. It is handy for pages like About, Privacy Policy, Cookies Policy and so on. Basically, it works like this: the user defines a master page for the content to be displayed, the user creates a new flatpage in the Django Admin interface, picks a URL and add the content. The user can also select if the page requires login or not. The

Django Tips #16 Simple Database Access Optimizations

Oct. 5, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides tips on how to optimize database access. It covers how to avoid accessing foreign key values, how to optimize bulk inserts, how to count query sets, and how to select only what is necessary.

How to Use Python isort Library

Oct. 8, 2016 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial explains how to use the Python isort library to sort imports alphabetically and automatically separated into sections. It is very useful in Django projects, especially in views where there is a great amount of imports. The installation process and usage of the library are both explained, as well as how to organize imports in a Django project.

List of Useful URL Patterns

Oct. 10, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a list of useful URL patterns for Django. It includes examples of how each pattern can be used and describes whether the pattern will match tabular data.

How to Use django-hosts Library

Oct. 11, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a basic introduction on how to use the django-hosts library to set up different parts of your Django application under different subdomains.

How to Use Django's Generic Relations

Oct. 12, 2016 by Vitor Freitas Article

No reviews yet. Contribute
Tutorial about how to use generic relations in Django models. A generic relation is where can use any type of foreign model as a foreign relationship.

How to Deploy a Django Application to Digital Ocean

Oct. 14, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial will show you how to deploy a Django application on DigitalOcean. You will need to create a DigitalOcean account and select the size and region of the Droplet. You will also need to choose a name for your Droplet. Finally, you will need to clone the Github repository of the Django application you want to deploy. You will then need to install Git on your local machine and run the following commands: git clone https://github.com/sibtc/urban-train.git cd urban-train git checkout tags/1.0

How to Add Social Login to Django

Oct. 24, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial will show you how to add social login to Django using the social-auth-app-django library. You will need to configure the library with your authentication tokens and backends. The library will automatically handle authentication tokens and user profile information.

How to Handle GitHub Webhooks Using Django

Oct. 31, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial will show you how to handle GitHub webhooks using Django. Webhooks are a convenient way to notify external services when a certain event occurs. GitHub provides an easy way to create webhooks for the git repositories. You can pick the events such as push, pull requests, and only be notified when those events occur. It can be used to integrate external applications with GitHub, perform Continuous Integration, or simply store the event data in a database. In this tutorial, I will show you how to securely handle those notifications using Django.

Django Under the Hood 2016

Nov. 8, 2016 by Vitor Freitas Article

No reviews yet. Contribute
The Django: Under The Hood (DUTH) conference is a two-day event where attendees can learn about the inner workings of Django. The conference consists of a series of talks from Django core team members and other members of the Django community. The event also includes two days of sprints, where attendees can work on Django projects with other developers.

How to Implement CRUD Using Ajax and Json

Nov. 15, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial demonstrates how to use Ajax and JSON to create and manipulate Django models. It covers the basics of configuration, and provides a working example. The example uses a table to list books, and includes instructions for creating a new book, editing an existing book, and deleting a book.

Django Multiple Files Upload Using Ajax

Nov. 22, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial walks the reader through creating a file upload form with Ajax using the Django web framework and the jQuery File Upload plugin. It covers setting up the project and configuring both Django and the plugin, building the form and submitting it via Ajax, and handling the upload process on the server.

How to Add User Profile To Django Admin

Nov. 23, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides step-by-step instructions for adding user profile data to the Django admin interface. It covers the challenges of linking the User model to aProfile model, and provides code examples for doing so.

How to Filter QuerySets Dynamically

Nov. 28, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use the django-filter app to add a filtering functionality to your views. It illustrates this by implementing a view to search for users.

How to Create Group By Queries With Django ORM

Dec. 6, 2016 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is about how to use the Django ORM to create SQL-like group by queries. It explains how to do the work in Python, but also points out that there are many powerful features of the database that can be used to speed up the process.

How to Implement Case-Insensitive Username

Feb. 6, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides instructions for implementing a case-insensitive username for authentication purposes in a Django project. The first option for doing this is to extend the built-in Django User model, which is recommended for new projects. The second option is to create a custom authentication backend.

How to Create User Sign Up View

Feb. 18, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create a user sign up view in Django. There are a few different methods covered, including using the default Django user, using a Profile model, and using a Confirmation mail.

How to Crop Images in a Django Application

March 2, 2017 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial explains how to crop images in a Django application. It first describes how to install Pillow, a library used for image processing, and then provides code examples to crop images in a Django application.

How to Create Infinite Scroll With Django

March 13, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This is a tutorial on how to create an infinite scroll using Django. It covers the basics of how to set it up and includes examples of both function-based and class-based views.

How to Create Django Admin List Actions

March 14, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial teaches how to create Django Admin list actions. Actions are meant to be used to perform operations in bulk, and all Django Admin list views already come with a set of pre-defined actions. The tutorial provides a simple example, and then shows how to create an action that discounts books by 10%.

Ask Vitor #1: Getting form data to appear in URL and for use in the next view

March 17, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to get form data to appear in the URL and for use in the next view. Devon Moore asks how to capture the date and use it to filter data from the database. Vitor suggests two ways to achieve the desired result. The first way is to use class-based views and to use the code example to create a valid URL. The second way is to use slashes instead of dashes in the URL and to change the URL pattern. The viewcode example is responsible for validating the user input and redirecting the user to the view that will htmlcode

Class-Based Views vs. Function-Based Views

March 21, 2017 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial discusses the differences between class-based and function-based views in Django. It argues that function-based views are easier to read and understand, and are more extensible.

How to Configure Mailgun To Send Emails in a Django Project

May 27, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial describes how to configure Mailgun to send emails in a Django project. It explains the benefits of using Mailgun and describes the steps necessary to set it up.

When a CTO Decides to Make a Wedding Website

June 29, 2017 by Cory Zue Article

No reviews yet. Contribute
The tutorial describes how to create a wedding website using the Django web development framework. It covers the following topics: setting up a development environment, creating a database model, building a responsive website, adding guest management features, and adding email functionality.

Django Tips #20 Working With Multiple Settings Modules

July 3, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to work with multiple Django settings modules. It advises keeping project setup simple, and when this is not possible, breaking down the code example module into different environment-specific modules. It provides an example of how to do this, and explains some things you can do with multiple settings modules.

Ask Vitor #3: Mocking Emails

July 7, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a method for mocking email in unit tests for Django applications. It uses the code examplemodule to store all emails sent during the test run. It then provides a simple code example of a view that sends an email and illustrates how to test it.

How to Setup Amazon S3 in a Django Project

Aug. 1, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use the Amazon S3 service to store static assets and user-uploaded files in a Django project. First, the basic concepts, installation and configuration are covered. Then, three sections explain how to work with static assets, static and media assets, and mixing public and private assets. The necessary Python libraries are also installed.

Ask Vitor #4: WordPress or Self-Made Blog?

Aug. 3, 2017 by Vitor Freitas Article

No reviews yet. Contribute
The Ask Vitor series is a blog post series in which blogger Vitor asks different web professionals a question. In this particular post, Vitor discusses whether or not he used WordPress or a different blog engine to create his blog. Vitor explains that his blog is powered by Jekyll, a static site generator, and that Django was used to create a small API.

A Minimal Django Application

Aug. 7, 2017 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial explains how to set up a Django application. It is a basic introduction and is not meant for people who are already familiar with Django.

Django Tips #21 Using The Redirects App

Aug. 11, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial will teach you how to use the Django Redirects App. This app is useful in cases where you want to update some existing URLs without compromising your Website SEO. It basically works by creating a table in the database with two columns,code exampleandcode example. If the requested URL is found in the columncode example, instead of raising the 404 error, it will redirect the user to thecode examplereturning a 301 code (Moved Permanently).

How to Render Django Form Manually

Aug. 19, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial describes how to render Django form manually. It explains that user input is a common task in any Web application or site and that the standard way to do it is through HTML forms. It also mentions that Django offers a rich form processing, which makes it easy to manage user input. However, it notes that Django is not very good at the front-end part and that it is better to use a library like jQuery to interact with the form.

How to Use Celery and RabbitMQ with Django

Aug. 20, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers how to install and use Celery and RabbitMQ with Django. Celery is an asynchronous task queue based on distributed message passing. It allows you to execute asynchronous tasks in the background, which can improve the responsiveness of your web application. In order to use Celery, you must first install RabbitMQ. Celery supports RabbitMQ, Redis, and Amazon SQS.

A Complete Beginner's Guide to Django - Part 1

Sept. 4, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This is a tutorial for complete beginners on how to use the Django web development framework. It covers everything from installation to more advanced topics, with lots of detail and accompanying illustrations.

A Complete Beginner's Guide to Django - Part 2

Sept. 11, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is for complete beginners and covers the basics of Django. It includes sections on installing Django, setting up a project, creating models, working with views and templates, and more. It also includes a section on how to create a simple web board project.

A Complete Beginner's Guide to Django - Part 3

Sept. 18, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is designed to teach beginners the basics of the Django web framework. In particular, it covers how to create urls and forms.

A Complete Beginner's Guide to Django - Part 4

Sept. 25, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is going to teach you how to create a Django authentication system. You will learn how to protect views from unauthorized users and how to create sign-up and log-in pages. You will also learn how to add authentication options to the top menu.

How to Create Django Data Migrations

Sept. 26, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create Django data migrations. A data migration is a way to change the data in the database in conjunction with changes in the schema. Django keeps track of dependencies, order of execution and if the application already applied a given data migration or not. A common use case of data migrations is when we need to introduce new fields that are non-nullable.

A Complete Beginner's Guide to Django - Part 5

Oct. 2, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides an overview of how to protect views against unauthorized users in Django, and how to access the authenticated user in views and forms. Finally, the tutorial explores some features of Django.

A Complete Beginner's Guide to Django - Part 6

Oct. 9, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides a comprehensive guide to Django for beginners. Topics covered include creating and working with views, templates, and models, as well as more advanced concepts such as pagination and working with Markdown.

A Complete Beginner's Guide to Django - Part 7

Oct. 16, 2017 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial walks the reader through the steps necessary to deploy a Django application to a web server, as well as configure email services and HTTPS certificates. The tutorial also covers the basics of version control and how to use a gitignore file.

Django Logging, The Right Way

Nov. 28, 2017 by Peter Baumgartner Article

No reviews yet. Contribute
A thorough guide on how to set up logging in Django and use Sentry to get error reports. Good logging is critical to debugging and troubleshooting problems.

How to use Python and Flask to build a web app — an in-depth tutorial

Dec. 19, 2017 by Abhinav Suri Article

No reviews yet. Contribute
This tutorial describes how to use Python and the Flask microframework to create a web app. It discusses the benefits of using Python for web development and provides an in-depth tutorial on creating a web app with Flask.

How to Implement Multiple User Types with Django

Jan. 18, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides general tips on how to implement multiple user types with Django. It covers different scenarios and offers strategies on how to best approach each.

I Built A Jupyter Notebook That Will Analyze Cryptocurrency Portfolios For You

Jan. 20, 2018 by Grant Bartel Article

No reviews yet. Contribute
This tutorial describes how to use a Jupyter notebook to analyze cryptocurrency portfolios. It first explains why it is important to analyze portfolios and then provides code that can be used to do so. The tutorial then describes how to run a backtest on an investment strategy and concludes with a discussion of the benefits of analyzing portfolios.

How to Implement Dependent/Chained Dropdown List with Django

Jan. 29, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create a dependent or chained dropdown list with Django. It provides a code example and describes how the application works. The example is already working, except it may allow inconsistent data to be saved in the database. Someone could pick Brazil from the country dropdown and then New York from the city dropdown. The city dropdown should be filtered based on the country selection. If it's an invalid input, just discard it and the form will display a message. Alternatively, you could completely remove the country field from the form definition, as it is related to the city

Django Tips #22 Designing Better Models

Feb. 10, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers design tips for Django models. It covers naming conventions, model style ordering, reverse relationships, and blank and null fields.

How to Integrate Highcharts.js with Django

April 3, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial is about how to use the Highcharts library to create charts from data in a Django project. The tutorial explains how to set up the Highcharts library with a Django project and how to format the data so that it can be used by Highcharts.

How to build a progress bar for the web with Django and Celery

July 3, 2018 by Cory Zue Article

No reviews yet. Contribute
This tutorial teaches how to build a progress bar for the web with Django and Celery. It covers the components involved in making a quality progress bar and provides a code example.

How to Use Bootstrap 4 Forms With Django

Aug. 13, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use Bootstrap 4 forms with Django. Django-Crispy-Forms is a library that allows you to style Django forms with Bootstrap 4, which can be very useful for creating professional-looking forms.

How to Create Custom Django Management Commands

Aug. 27, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to create custom Django management commands. Management commands are special functions that can be run from the command line, and allow you to interact with your Django application in a variety of ways. This tutorial explains how to code your own commands, and includes a few examples to get you started.

How to manage multiple Python versions and virtual environments

Sept. 10, 2018 by Dominic Fraser Article

No reviews yet. Contribute
This tutorial covers how to manage multiple Python versions and virtual environments. It first explains the terms used in the title, and then provides three different tools for working with these. It gives examples of when each tool would be useful.

A gentle introduction to GraphQL API integrations

Sept. 10, 2018 by Hugo Di Francesco Article

No reviews yet. Contribute
This tutorial provides a gentle introduction to using GraphQL APIs. It covers the basics of what GraphQL is and how it solves various problems associated with traditional HTTP API designs. Additionally, the tutorial provides code examples for integrating with a GraphQL API in both Python and JavaScript.

The Riddle of Sphinx: How to Document Your Code Easily

Oct. 19, 2018 by Dalya Gartzman Article

No reviews yet. Contribute
The Riddle of Sphinx tutorial is designed to help Python developers create easily-accessible and easy-to-use documentation for their code. The tutorial walks readers through the steps of installing the Sphinx package and setting up a project using the provided template. Readers are encouraged to write docstrings for the code they wish to document, and the tutorial includes examples of how to do so. The tutorial also includes a section on publishing documentation using ReadTheDocs.

Django Authentication Video Tutorial

Nov. 4, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This video tutorial series explores Django's authentication system by implementing sign up, login, logout, password change, password reset and protected views from non-authenticated users. The series consists of 12 videos, one for each topic, ranging from 4 min to 15 min each.

How to Implement Token Authentication using Django REST Framework

Nov. 22, 2018 by Vitor Freitas Article

No reviews yet. Contribute
In this tutorial, you will learn how to implement Token-based authentication using Django REST Framework. Token authentication works by exchanging a username and password for a token that will be used in all subsequent requests to identify the user on the server side. The specifics of how authentication is handled on the client side vary depending on the platform, but once you understand the overall process, it is easier to find the necessary resources and documentation for your specific application. Token authentication is suitable for client-server applications where the token is safely stored and does not expose the user's credentials.

Advanced Form Rendering with Django Crispy Forms

Nov. 28, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers how to use advanced features of Django Crispy Forms to create custom forms. It uses a code example to show how to create a Bootstrap 4 form, and then adds a custom field to the form. Finally, it shows how to place the custom field in the form.

How to Use JWT Authentication with Django REST Framework

Dec. 19, 2018 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to use the JWT authentication strategy with Django REST Framework. It covers the basics of how JWTs work, and provides examples of how to install and use the code example library. It also explains the use of the refresh token, and provides some further reading on the topic.

Python Django Web Framework - Full Course for Beginners

Jan. 2, 2019 by Beau Carnes Article

No reviews yet. Contribute
This tutorial is for beginners who want to learn how to create web apps using the Python Django framework. The tutorial is 47-parts long and covers everything you need to know to get started.

How to Implement Grouped Model Choice Field

Jan. 2, 2019 by Vitor Freitas Article

No reviews yet. Contribute
The tutorial demonstrates how to use the Grouped Model Choice Field in Django forms. It shows how to create a form with a model field that uses a group of options. The tutorial also explains how to use the group in a foreign key relationship.

How to Use Date Picker with Django

Jan. 3, 2019 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial covers three different ways to add date pickers to a Django form: manually, using a custom widget, and using a third-party Django app. It includes code examples for each method.

How not to be afraid of Python anymore

Jan. 14, 2019 by Neil Kakkar Article

No reviews yet. Contribute
This tutorial is aimed at teaching Python from a more holistic perspective. It explains the data model, the execution model and the lexical analysis of the language. It also Discusses some of the more common 'gotchas' in Python.

How to get Facebook messenger to notify you about the weather

Jan. 24, 2019 by Ekapope Viriyakovithya Article

No reviews yet. Contribute
This tutorial walks you through how to set up a Facebook messenger bot that notifies you of weather alerts. You will need Python 3, the pandas and fbchat modules, and an AccuWeather account. You will also need to create a file called keys.py that stores your email, password, and AccuWeather API key. The final file will be called params.py and will contain code to determine whether or not to send an alert message.

How to monitor your air quality with this DIY setup

Feb. 19, 2019 by Bert Carremans Article

No reviews yet. Contribute
This tutorial describes how to monitor your air quality with a DIY setup. Using a Raspberry Pi, low-cost gas sensors, and a remote-controlled switch, you can control the air quality in your house. The factors that influence indoor air quality are ambient air, air tightness and ventilation of the building, and indoor sources like tobacco smoke, heating gases, consumer products, etc. The Environmental Protection Agency reports that Americans spend 87% of their time indoors, and in Europe, this average percentage is 90%. By tracking the indoor air quality, you can make informed decisions about how to improve

How to Save Extra Data to a Django REST Framework Serializer

April 7, 2019 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial explains how to pass extra data to a Django REST Framework serializer, before saving it to the database. The example uses an APIView, but the technique can also be applied to ViewSets.

An Introduction to Unit Testing in Python

Aug. 6, 2019 by Goran Aviani Article

No reviews yet. Contribute
This tutorial introduces the reader to the basics of unit testing in Python. The tutorial explains how to write unit tests and how to use them to check the code.

How to Maintain Scalability in Your Python Code

Aug. 20, 2019 by Shifa Martin Article

No reviews yet. Contribute
The tutorial covers how to maintain scalability in Python code. It provides useful tips for developers on how to develop scalable applications using Python.

How to Build an E-commerce Website with Django and Python

Aug. 21, 2019 by Beau Carnes Article

No reviews yet. Contribute
In this tutorial, the user will learn how to create an ecommerce website using the Django Framework and the Python programming language. The user will learn how to configure the project, add items to a cart, improve the user interface, create an order summary, checkout process, handle payments with Stripe, and manage refunds.

Learn Python by Building 5 Games

Nov. 6, 2019 by Beau Carnes Article

No reviews yet. Contribute
In this tutorial, you will learn how to code five popular games in Python. You will start with basic games like Pong and Snake, and then move on to more complex games like Connect Four and Tetris. You will also learn how to code a multiplayer game using Python.

A minimal REST API Django setup as a microservices

Nov. 11, 2019 by Jan Pieter Bruins Slot Article

No reviews yet. Contribute
How to set up a Django project that can be used as a microservice REST API. You can look at the code here to see the final result. An important disclaimer: the code presented here is intended for use in a development environment; if you want to use it in production or expose it to the internet, review the security practices for the framework(s).

Learn How to Use Tkinter to Create GUIs in Python

Nov. 19, 2019 by Beau Carnes Article

No reviews yet. Contribute
This tutorial covers how to use the Tkinter library to create graphical user interfaces (GUIs) in the Python programming language. It starts with a basic introduction to Tkinter, covering topics such as positioning widgets on a window with the grid system, creating buttons and input fields, and working with icons and images. The tutorial then moves on to more complex topics, such as creating windows, frames, and status bars, working with radio buttons, message boxes, and databases, and creating matplotlib charts. Finally, the tutorial explains how to deploy a GUI project.

How to create an analytics dashboard in a Django app

Feb. 12, 2020 by Veronika Rovnik Article

No reviews yet. Contribute
This tutorial explains how to create an analytics dashboard in a Django app. The tutorial begins by discussing the prerequisites necessary to follow along, which include basic knowledge of the Django framework and a bit of creativity. The tutorial then provides a brief list of tools that will be used, including Python 3.4, Django, Virtualenv, and the Flexmonster Pivot Table & Charts JavaScript library. The tutorial then explains how to create a new app in a Django project.

Using Markdown in Django

March 3, 2020 by Haki Benita Article

No reviews yet. Contribute
Article describing in detail how they created a Markdown extension to address difficulties with managing content in Django sites using Markdown. Using python markdown package.

Want to learn Python? Here's our free 4-hour interactive course

March 3, 2020 by Per Harald Borgen Article

No reviews yet. Contribute
This tutorial is a four-hour interactive course on the Python programming language. It is designed for beginners who want to learn how to code in Python. The course is taught by Olof Paulson, who is a proponent of the Khan Academy in Sweden. The course includes a ton of coding challenges and is interactive and engaging.

How to Create Auto-Updating Data Visualizations in Python with IEX Cloud, Matplotlib, and AWS

May 3, 2020 by Nick McCullum Article

No reviews yet. Contribute
The tutorial explains how to create data visualizations in Python that are automatically updated. It uses the matplotlib library and some simple Amazon Web Services product offerings.

Python Fundamentals for Data Science

July 15, 2020 by Harshit Tyagi Article

No reviews yet. Contribute
This tutorial is for beginners who want to get started in the field of data science. It covers the basics of Python, including how to store data types in lists, how to read package documentation, and some other features and functionalities of Python.

How to Boost Your Data Analysis Skills With Python

July 31, 2020 by Emma Coffinet Article

No reviews yet. Contribute
The tutorial teaches how to use the Python package, Pandas Profiling, to perform data analysis of dataframes in Pandas.

Learn networking in Python by building 4 projects

Aug. 7, 2020 by Beau Carnes Article

No reviews yet. Contribute
This tutorial will help you learn the basics of networking in Python. You will learn how to create a mailing client, a TCP chat room, a port scanner, and a DDOS script.

Build Your First Python Project in This Free Course: a Text-Based Adventure Game

Aug. 19, 2020 by Beau Carnes Article

No reviews yet. Contribute
This tutorial will teach beginners how to create a basic text-based adventure game in Python. They will learn about various Python commands and concepts, including conditional logic, type conversions, and more. The tutorial is designed to be completed in a web browser, eliminating the need to install any software.

Take Your Python Skills to the Next Level With This Free 6-Hour Video Course

Aug. 27, 2020 by Beau Carnes Article

No reviews yet. Contribute
This tutorial is for people who have already taken a basic Python course and want to learn more about the language. It covers intermediate-level topics such as lists, tuples, dictionaries, strings, and collections. It also delves into more advanced topics such as generators, threading, and multiprocessing.

How to Create and Manipulate SQL Databases with Python

Aug. 31, 2020 by Craig Dickson Article

No reviews yet. Contribute
This tutorial is on how to use Python and SQL together to manipulate data. You will learn how to create and populate databases, as well as read, update, and delete records.

Handle Images with Django and Nginx in production

Sept. 21, 2020 by smileservices.dev Article

No reviews yet. Contribute
Handling images in production with Django and Nginx is not a difficult task but the documentation on this subject is lacking. In this free article there's a step by step guide on how to save, process and serve images. It's using the django package Versatile Imagefield to process the images to create thumbnails and save them.

Python for Finance – Algorithmic Trading Tutorial for Beginners

Sept. 24, 2020 by Harshit Tyagi Article

No reviews yet. Contribute
This tutorial provides a beginner's guide to quantitative trading with Python. Topics covered include financial concepts, data manipulation and plotting using Pandas.

Web Scraping Python Tutorial – How to Scrape Data From A Website

Sept. 25, 2020 by Mehul Mohan Article

No reviews yet. Contribute
This tutorial provides an introduction to web scraping using Python. It covers how to use Python to extract data from a website and includes a practical hands-on guide.

How to Manage Computer Vision Datasets in Python with Remo

Dec. 10, 2020 by Pier Paolo Ippolito Article

No reviews yet. Contribute
This tutorial walks you through how to use the Remo library to manage and work with computer vision datasets. You will learn how to use Remo to organize and visualize images and annotations, annotate images, and export annotations in a CSV format. Additionally, you will learn how to use Remo to get key dataset statistics.

How to Get Started with Algorithmic Trading in Python

Jan. 4, 2021 by Harshit Tyagi Article

No reviews yet. Contribute
This tutorial provides an introduction to algorithmic trading in Python. It covers the basics of programming, statistical analysis, and data visualization. It also provides a basic overview of financial markets and trading strategies.

So Malcolm Gladwell got the data all wrong...or did he?

Jan. 4, 2021 by David Clinton Article

No reviews yet. Contribute
The article discusses the author's journey into the world of data analytics, and how he used code to explore data on hockey players.

Data Science Learning Roadmap for 2021

Jan. 12, 2021 by Harshit Tyagi Article

No reviews yet. Contribute
The tutorial provides a roadmap for learning data science in 2021. It outlines a learning framework, resources, and project ideas to help build a portfolio of work showcasing expertise in data science. It also provides a Python course for practice of basic concepts.

How to Code a Scraping Bot with Selenium and Python

Jan. 12, 2021 by Otávio Simões Silveira Article

No reviews yet. Contribute
This tutorial covers how to use Selenium and Python for web scraping. Selenium is used to access JavaScript-rendered content, which regular scraping tools like BeautifulSoup can't do. Selenium is also useful when you need to interact with the page before collecting the data. Finally, Selenium can be useful in several other situations such as signing in to websites, filling out forms, selecting items in a dropdown list, and much more.

What is Python's Django used for? 5 Key Reasons I Use the Django Framework for Client Projects

Feb. 8, 2021 by Gwendolyn Faraday Article

No reviews yet. Contribute
This tutorial describes the reasons why the author uses Python's Django framework for client projects. Django is praised for its speed and power, as well as the many features it offers out of the box.

How to Manage Python Dependencies using Virtual Environments

March 22, 2021 by Saransh Kataria Article

No reviews yet. Contribute
This tutorial explains how to manage Python dependencies using virtual environments. Virtual environments allow us to install different versions of Python packages and their dependencies separately, which prevents conflicts between packages.

Web Scraping in Python – How to Scrape an eCommerce Website Using Beautiful Soup and Pandas

March 23, 2021 by Manthan Koolwal Article

No reviews yet. Contribute
This tutorial demonstrates how to scrape an ecommerce website using Python. First, the website's link is retrieved and stored in a variable. Then, a loop is used to extract the product information from each page of the website. The information is then stored in a list or dictionary.

Learn Data Structures by Building a Flask API with Python

April 22, 2021 by Beau Carnes Article

No reviews yet. Contribute
The tutorial "Learn Data Structures by Building a Flask API with Python" is a three-hour course that teaches the basics of data structures by implementing a real-world API using Python and Flask. The course is aimed at people who have a basic understanding of Python and will teach them about how to install Python and Flask, configure a database, and implement API routes using various data structures.

How to Use Selenium and Python to Scrape Websites More Effectively

May 11, 2021 by Otávio Simões Silveira Article

No reviews yet. Contribute
This tutorial covers how to use Selenium and Python to scrape websites more effectively. It discusses how to interact with pages to access their content, and provides examples of how to do so.

Python for Bioinformatics: Use Machine Learning and Data Analysis for Drug Discovery

June 4, 2021 by Beau Carnes Article

No reviews yet. Contribute
This tutorial is on how to use Python and machine learning for drug discovery in the bioinformatics field. The course is taught by an associate professor of bioinformatics who is known for breaking things down for beginners. The course covers the topics of data collection, exploratory data analysis, descriptor calculation, model building, model comparison, and model deployment.

How to Make a Visual Novel Game in 10 Minutes – Python Ren'Py Tutorial

June 22, 2021 by Lynn Zheng Article

No reviews yet. Contribute
This tutorial is designed to show you how to create a basic visual novel game in 10 minutes using the Ren'Py Visual Novel engine and Python.

How to Start a Production-Ready Django Project

June 27, 2021 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial shows how to start a Django project. The first part discusses different project configurations and ways to organize the project. The second part discusses requirements and settings for the project. The third part discusses app configuration. The fourth part discusses code style and formatting. The fifth part discusses debugging and logging.

What You Should Know About The Django User Model

July 8, 2021 by Vitor Freitas Article

No reviews yet. Contribute
This tutorial provides an overview of the default Django user model implementation, highlights its caveats, and offers possible solutions. It is important to be aware of the limitations of the user model in order to avoid problems down the road. One potential solution is to replace the default user model, but this must be done before the project is started. Alternatively, the email field may be customized to be unique.

Select Related Vs Prefetch Related In Django

Aug. 7, 2021 by RAHUL MISHRA Article

No reviews yet. Contribute
Trying both select_related and prefetch_related and looking over the resulting SQL queries. A quick article that goes into the differences between the two and when it's best to use each one.

Logging in Python – How to Use Logs to Debug Your Django Projects

Aug. 31, 2021 by Md. Saifur Rahman Article

No reviews yet. Contribute
The tutorial discusses how to use logs for debugging Django projects. It explains the different levels of logging, and how to read and interpret log files.

Use Python, SpaCy, and Streamlit to Build a Structured Financial Newsfeed

Sept. 23, 2021 by Harshit Tyagi Article

No reviews yet. Contribute
This tutorial demonstrates how to use Python, SpaCy, and Streamlit to develop a structured financial newsfeed. The goal is to get insights from raw and unstructured data and to list down the buzzing stocks on the internet. The tutorial is helpful for those who are familiar with Python and the basic tasks of NLP.

How to Authenticate Users in Flask with Flask-Login

Nov. 1, 2021 by Ondiek Elijah Ochieng Article

No reviews yet. Contribute
In this tutorial, you will learn how to set up user authentication in a Flask web application with the help of Flask-Login. You will also learn about the different components of the application structure and how to install and set up the project.

Python JSON – How to Convert a String to JSON

Nov. 9, 2021 by Dionysia Lemonaki Article

No reviews yet. Contribute
This tutorial provides an introduction to JSON, including where it is used and how it is formatted. You will also learn how to convert a string to JSON in Python.

Learn Python – Free Python Courses for Beginners

Dec. 13, 2021 by Jessica Wilkins Article

No reviews yet. Contribute
This tutorial is designed to teach beginners the basics of the Python programming language. It covers topics such as lists, conditionals, strings, tuples, functions, classes, and more.

Python Project – How to Create a Horoscope API with Beautiful Soup and Flask

Dec. 17, 2021 by Ashutosh Krishna Article

No reviews yet. Contribute
This tutorial guides users through the steps of creating a horoscope API with Beautiful Soup and Flask. First, a virtual environment is created and the necessary dependencies are installed. Next, the website that will be scraped is identified and Beautiful Soup is used to extract the data. This data is then formatted into JSON and served as an API using Flask.

Python Tutorial – How to Create a URL Shortener using Flask

Jan. 3, 2022 by Ashutosh Krishna Article

No reviews yet. Contribute
This tutorial provides a step-by-step guide on how to create a URL shortener using the Flask web framework. The tutorial begins by explaining how to create a virtual environment and install the necessary dependencies using Pipenv. Next, the author explains how to add a new route that takes the short id the application generates and fetches the original URL. The tutorial concludes by providing a brief overview of the frontend of the application.

PyTest Tutorial: What is, How to Install, Framework, Assertions

March 5, 2022 by Steve Campbell Article

No reviews yet. Contribute
The tutorial provides an introduction to PyTest, a Python testing framework, and shows how to use it to write simple and scalable tests for databases, APIs, and UI.

Django Tutorial for Beginners: Features, Architecture & History

March 5, 2022 by Steve Campbell Article

No reviews yet. Contribute
This Django tutorial covers all the basics topics from scratch. In particular, you will learn the concepts behind Django such as what is Django, Django history, Django features, Characteristics of Django framework, Component of Django, Advantages and disadvantages, and much more.

Python DateTime, TimeDelta, Strftime(Format) with Examples

March 5, 2022 by Steve Campbell Article

No reviews yet. Contribute
This tutorial describes how to use the Python date time modules to work with dates and times. First, the necessary modules are imported. Then, various methods are demonstrated including how to get the current date and time, format date and time output, and use timedelta objects.

Flask vs Django: What’s the Difference Between Flask & Django?

March 5, 2022 by Steve Campbell Article

No reviews yet. Contribute
This tutorial provides an overview of the key differences between the Flask and Django web development frameworks. It covers the features of each framework and highlights the advantages and disadvantages of each. In the end, the pros and cons of each framework are weighed to help you decide which is best for your needs.

PyUnit Tutorial: Python Unit Testing Framework (with Example)

March 5, 2022 by Steve Campbell Article

No reviews yet. Contribute
The PyUnit Tutorial: Python Unit Testing Framework (with Example) explains the basics of Python unit testing and provides a worked example.

Python JSON: Encode(dumps), Decode(loads) & Read JSON File

March 5, 2022 by Steve Campbell Article

No reviews yet. Contribute
This tutorial provides a basic introduction to working with JSON in Python. It covers encoding and decoding of Python objects into JSON, as well as working with complex objects. Additionally, the tutorial provides an overview of the JSON Serialization and JSON Deserialization classes in the Python JSON library.

Python Project Ideas to Improve Your Résumé

March 8, 2022 by Hillary Nyakundi Article

No reviews yet. Contribute
This tutorial is about how to create a Python project to improve your resume. It provides examples of projects that can help improve your skills and highlights the importance of having a strong portfolio.

11 Best Python Programming Books for Beginner (2022 Update)

April 13, 2022 by Steve Campbell Article

No reviews yet. Contribute
This tutorial provides a curated list of the best Python programming books for beginners. It covers a range of topics, from the basics of Python programming to more advanced topics like data analysis and machine learning.