django-planet

What's new in Django community blogs?

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

User Accounts With django-allauth - Building SaaS #41

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

In this episode, we added django-allauth to create accounts that default to email instead of using usernames. We added the package, configured some templates, and created tests. We continued to look at Will Vincent’s django-allauth post on creating user accounts with email and passwords. django-allauth let’s us swap out username and email so that users won’t need to create a username, which is the behavior that I want for this service.

Read More

Authentication - José Padilla

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

José has made major contributions to the Django ecosystem, especially around Django REST Framework and authentication. He is now an engineer at Auth0.

Read More

From Browser To Django

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

Maybe you have heard about Django and that it can help you build websites. You might be new to Python, new to web development, or new to programming. This new series, Understand Django, will show you what Django is all about. Throughout this series, I will reveal how Django is a powerful tool that can unlock the potential of anyone interested in making applications on the internet. Django is used by companies like Instagram, Eventbrite, Disqus, and Udemy, and is also a great tool for individual…

Read More

How to create a Django project from a template

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

A Django project template is the natural solution when the default Django project format is not enough anymore. Learn how to make your own in this tutorial.

Read More

A Python Packaging Carol

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

I have endeavoured in this Ghostly little book, to raise the Ghost of an Idea, which shall not put my readers out of humour with themselves, with each other, with the season, or with me. May it haunt their houses pleasantly, and no one wish to lay it. Every year around Christmas, I make a point of re-reading Charles Dickens’ A Christmas Carol. If you’ve only ever been exposed to the story through adaptations into … Read full entry

Read More

A Python Packaging Carol

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

I have endeavoured in this Ghostly little book, to raise the Ghost of an Idea, which shall not put my readers out of humour with themselves, with each other, with the season, or with me. May it haunt their houses pleasantly, and no one wish to lay it. Every year around Christmas, I make a point of re-reading Charles Dickens’ A Christmas Carol. If you’ve only ever been exposed to the story through adaptations into … Read full entry

Read More

Make A Custom User Model - Building SaaS #40

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

In this episode, we started a users app and hooked up the custom user model feature of Django to unlock the full extensibility of that model in the future. The stream was cut short this week because of some crashing issues in the OBS streaming software. The goal of the episode was to add django-allauth so that users can sign into the service with an email and password instead of the default username and password combination.

Read More