django-planet

Blog: Django Archives - ZeroToByte

web https://zerotobyte.com/category/django/
Author Erik Matosevic Manuel Matosevic

How to use the Django create superuser command

Oct. 20, 2022 » Django Archives - ZeroToByte » [Archived Version]

When it comes to managing the site you’re developing, Django includes a powerful admin interface that lets you interact with ... Read more The post How to use the Django create superuser command appeared first on ZeroToByte.

Read More

How to use Django order_by?

Sept. 11, 2022 » Django Archives - ZeroToByte » [Archived Version]

Sorting data stored in the database can often be crucial for your application. Luckily, Django has integrated methods over querysets ... Read more The post How to use Django order_by? appeared first on ZeroToByte.

Read More

Django Reverse URL – reverse() function

May 28, 2022 » Django Archives - ZeroToByte » [Archived Version]

Managing URLs in Django can become very cumbersome if you don’t employ the right tactic in the beginning. Imagine that ... Read more The post Django Reverse URL – reverse() function appeared first on ZeroToByte.

Read More

Django Redirect Explained

May 26, 2022 » Django Archives - ZeroToByte » [Archived Version]

When building a Django web application, sometimes you’ll need to redirect a client request from the requested URL address to ... Read more The post Django Redirect Explained appeared first on ZeroToByte.

Read More

HttpResponse Django – HTTP Response Explained with Examples

April 18, 2022 » Django Archives - ZeroToByte » [Archived Version]

Django is a web application framework which means it is heavily used in scenarios that include receiving and sending HTTP ... Read more The post HttpResponse Django – HTTP Response Explained with Examples appeared first on ZeroToByte.

Read More

Django shortcuts – get_or_create and update_or_create

March 19, 2022 » Django Archives - ZeroToByte » [Archived Version]

Django shortcuts, get_or_create(), and update_or_create() methods make our web application development even faster. Django implemented these methods due to easier ... Read more The post Django shortcuts – get_or_create and update_or_create appeared first on ZeroToByte.

Read More

How to check Django version?

March 9, 2022 » Django Archives - ZeroToByte » [Archived Version]

Django is one of the most popular framework for creating web applications. Its initial release was back in 2005, and ... Read more The post How to check Django version? appeared first on ZeroToByte.

Read More

How to use Django select_related and prefetch_related?

March 7, 2022 » Django Archives - ZeroToByte » [Archived Version]

Django ORM (object-relational mapping) is a tool that helps us make queries on relational databases using Python code that is ... Read more The post How to use Django select_related and prefetch_related? appeared first on ZeroToByte.

Read More

Django Choices Best Practices

March 2, 2022 » Django Archives - ZeroToByte » [Archived Version]

Models in Django define entities and their fields (columns) in the database. These columns represent the Django Field class with ... Read more The post Django Choices Best Practices appeared first on ZeroToByte.

Read More

Django Multiple Databases Setup

Feb. 22, 2022 » Django Archives - ZeroToByte » [Archived Version]

Django and its standard configuration come with a single database by default. Often, when projects get large and complex, that ... Read more The post Django Multiple Databases Setup appeared first on ZeroToByte.

Read More