Latest published stories in Django - DeveloperSites
1
likes
spam Like Dislike

Mastering the Art of Django For Loop: A Complete Guide

published 1 day, 13 hours, 41 minutes ago posted by DhruvDhruv 7 days, 15 hours, 17 minutes ago
Saturday, February 4, 2023 1:28:43 PM GMT Sunday, January 29, 2023 11:52:36 AM GMT
This blog post is about the for loop tag in Django, a popular web development framework for Python. The for loop tag is used to iterate over a collection of objects, such as a list or a queryset, and display the contents of each object. The article begins by explaining how to use the for loop tag in a Django template, including how to create a for loop and how to access variables within the loop. The post also covers some of the more advanced features of the for loop tag in Django, such as using the for... (more)
category: Django | clicked: 0 | comment | | source: www.w3schools.com
1
likes
spam Like Dislike

Unleashing the Power of For Loops in Django Templates: Tips and Tricks for Dynamic Web Pages

published 1 day, 13 hours, 41 minutes ago posted by DhruvDhruv 8 days, 9 hours, 52 minutes ago
Saturday, February 4, 2023 1:28:43 PM GMT Saturday, January 28, 2023 5:17:06 PM GMT
The blog post explains how to use the for loop in Django templates, a popular Python web framework. It starts by explaining the basic syntax of the for loop and how to use it to iterate over lists and dictionaries. The post also shows how to access the current item and the index of the current item within the for loop. The post then goes on to explain how to use the for loop in conjunction with other template tags, such as the if tag, to create more complex logic within the template. It also shows how t... (more)
category: Django | clicked: 0 | comment | | source: www.educative.io
1
likes
spam Like Dislike

Mastering Templates, Tags, and Filters in Django: Unlocking the Power of Dynamic Web Page

published 1 day, 13 hours, 41 minutes ago posted by DhruvDhruv 8 days, 9 hours, 59 minutes ago
Saturday, February 4, 2023 1:28:43 PM GMT Saturday, January 28, 2023 5:10:25 PM GMT
The blog post discusses how to use templates, tags, and filters in Django, a popular Python web framework. Templates are a way to define the structure of a web page and separate the presentation logic from the business logic. Tags and filters are used within templates to add dynamic functionality to the pages. The post explains how to create a template in Django and how to use variables and basic logic in templates. It also shows how to use template tags, which are small pieces of code that can be used ... (more)
category: Django | clicked: 0 | comment | | source: realpython.com
1
likes
spam Like Dislike

9 Django Tips for Working with Databases

published 413 days, 10 hours, 25 minutes ago posted by matthewpomarmatthewpomar 422 days, 12 hours, 55 minutes ago
Sunday, December 19, 2021 4:44:10 PM GMT Friday, December 10, 2021 2:14:17 PM GMT
ORMs offer great utility for developers but abstracting access to the database has its costs. Developers who are willing to poke around the database and change some defaults often find that great improvements can be made. (more)
category: Django | clicked: 1 | comment | | source: hakibenita.com
tags: ORM, Performance, PostgreSQL, SQL
1
likes
spam Like Dislike

How to Create an Index in Django Without Downtime

published 413 days, 10 hours, 25 minutes ago posted by matthewpomarmatthewpomar 422 days, 13 hours, 46 minutes ago
Sunday, December 19, 2021 4:44:10 PM GMT Friday, December 10, 2021 1:23:53 PM GMT
In this step-by-step Python tutorial, you'll get a solid understanding of the limitations of Django migrations by tackling a well known problem: creating an index in Django with no downtime. (more)
category: Django | clicked: 1 | comment | | source: realpython.com
tags: ORM, PostgreSQL, SQL