django-planet

What's new in Django community blogs?

Episode 1 - Get To Know Django

Jan. 30, 2020 » Django on Matt Layman » [Archived Version]

Welcome to the show notes for the first episode of Django Riffs! Django Riffs is a podcast for learning web application development in Python using the Django web framework. Listen at djangoriffs.com. Who Is This For? This podcast is for absolute Django beginners. No prior knowledge of Django or web development is expected. Experienced users may learn something new or get a good refresher from topics they might have missed in the documentation.

Read More

GeoDjango - Anna Kiefer

Jan. 29, 2020 » Django Chat » [Archived Version]

Anna discusses GeoDjango, a built-in contrib module that turns Django into a world-class geographic Web framework.

Read More

Use Tailwind On A Template - Building SaaS #43

Jan. 23, 2020 » Django on Matt Layman » [Archived Version]

In this episode, we worked on the template styles of a tabular view. We also made some context data adjustments to include header rows and column highlighting. I started by showing the template that I already created. It was rough. Before changing anything, I took the time to explain the modeling in use for this project and the context passed to the view. The models mostly form a tree in the a hierarchy.

Read More

Security Releases

Jan. 22, 2020 » Django Chat » [Archived Version]

The Django security team recently rushed out a fix in two days time, start to finish. We discuss the normal security cadence and why staying on the latest Django release is so important.

Read More

Add Styles To Templates - Building SaaS #42

Jan. 22, 2020 » Django on Matt Layman » [Archived Version]

In this episode, I added a CSS framework, Tailwind CSS. After working through some issues with the log out feature, we started to style the base template of the site. To stay true to my “make the minimum possible thing that will work,” I added Tailwind CSS from a CDN, content delivery network. <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> I described how Tailwind’s utility-first approach makes designing sites a breeze because of …

Read More

URLs Lead The Way

Jan. 22, 2020 » Django on Matt Layman » [Archived Version]

In the last article in the Understand Django series, we saw how a user’s browser request goes from their browser to Django’s “front door.” Now it’s time to look at how Django processes those requests. An HTTP request coming from a browser includes a URL describing which resource Django should produce. Since URLs can come in many forms, we must instruct Django on the kinds of URLs that our web application can handle.

Read More

Having some fun with Python

Jan. 20, 2020 » James Bennett » [Archived Version]

The other day on a Slack I hang out in, someone posted an amusing line of Python code: port = "{port}:{port}".format(port=port) If it’s not clear after the inevitable Swedish-chef-muppet impression has run through your mind, this string-formatting operation will replace the contents of port with a string containing two copies of whatever was in port, separated by a colon. So if port was "foo", now it will … Read full entry

Read More

Having some fun with Python

Jan. 20, 2020 » James Bennett » [Archived Version]

The other day on a Slack I hang out in, someone posted an amusing line of Python code: port = "{port}:{port}".format(port=port) If it’s not clear after the inevitable Swedish-chef-muppet impression has run through your mind, this string-formatting operation will replace the contents of port with a string containing two copies of whatever was in port, separated by a colon. So if port was "foo", now it will … Read full entry

Read More

Django's Async Future - Tom Christie

Jan. 15, 2020 » Django Chat » [Archived Version]

Tom is the creator of Django REST Framework, HTTPX, and a whole suite of new async Python web stack packages.

Read More

Asynchronous tasks in Django with Django Q

Jan. 15, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Learn how to use Django Q for offloading asynchronous tasks in your Django applications.

Read More