Category: Learn Django

Django E-Commerce Tutorial with Stripe

In this tutorial, we will build a basic e-commerce website in Django that uses Stripe to process single payments. The website will...

Read More

Django Best Practices: Docker

[Docker](https://www.docker.com/) is a very popular tool for managing Django projects. Many professional developers use it but I f...

Read More

Django Best Practices: Imports

Imports are an inevitable part of Python and Django development. [Pep8](https://pep8.org/#imports), which is the official style gu...

Read More

Django Best Practices: Models

Properly defining database models is arguably __the__ most important part of a new project, however Django provides us with tremen...

Read More

Django Best Practices: Security

Django is a mature, battle-tested web framework with a well deserved reputation for security over the past 15+ years.However the i...

Read More

Django Best Practices: User permissions

Setting user permissions is a common part of most Django projects and can become quite complex quickly. We'll use the Blog example...

Read More

Database Design Tutorial for Beginners

Databases are at the heart of every web application. Their design, or schema, is literally the blueprint for how all information i...

Read More

Django Rest Framework Tutorial: Todo API

[Django Rest Framework](http://www.django-rest-framework.org/) is a powerful library that sits on top of existing Django projects ...

Read More

Is Django a Full Stack Framework?

The title of this post, "Is Django a Full Stack Framework?" is a question I receive often from new web developers. It's a very val...

Read More

Trailing URL Slashes in Django

Among Django's many built-in features is [APPEND_SLASH](https://docs.djangoproject.com/en/4.0/ref/settings/#append-slash), which b...

Read More

What is Django (Python)?

[Django](https://djangoproject.com) is an open-source web framework written in the [Python](https://www.python.org) programming la...

Read More

How to Get Hired as a Django Developer

Hiring developers is a famously non-linear problem. Once you have a job at a notable company, it seems recruiters constantly beat ...

Read More

NameError: name 'os' is not defined

If you've started a new Django 3.1+ project and are using older tutorials or guides, it's likely to come across the following erro...

Read More

Django Polls Tutorial API

The [polls tutorial](https://docs.djangoproject.com/en/dev/intro/tutorial01/) is the official guide to Django. As a fun exercise, ...

Read More

Django Testing Tutorial

Testing is an important but often neglected part of any Django project. In this tutorial we'll review testing best practices and e...

Read More

What's New in Django 3.1

Django 3.1 will be released in early August 2020 and comes a number of major new features and many minor improvements including as...

Read More

The 10 Most-Used Django Packages

Inspired by a past article on [The 22 Most-Used Python Packages in the World](https://medium.com/better-programming/the-22-most-us...

Read More

Django Best Practices: Function-Based Views vs Cla...

Django's use of both function-based views (FBVs) and class-based views (CBVs) causes a lot of confusion for newcomers. Why have mu...

Read More

Django Best Practices: Referencing the User Model

Django has a powerful, built-in [user authentication system](https://docs.djangoproject.com/en/4.0/topics/auth/default/) that make...

Read More

Command Line for Beginners

The _command line_ is a powerful text-only interface for computers. If you have ever seen a show where hackers are furiously typin...

Read More

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies Find out more here