Open in app
Home
Notifications
Lists
Stories

Write
Alex Oleshkevich
Alex Oleshkevich

Home

May 25, 2021

How to group rows by time in PostgreSQL (and in Django)

Sometimes you need to group rows by a time interval, say, one value per minute, or per hour. In this post, we will research how we can do that with vanilla PostgreSQL and with Django ORM. When do you need it? Imagine you have a table that stores weather temperature…

Django

2 min read

How to group rows by time in PostgreSQL (and in Django)
How to group rows by time in PostgreSQL (and in Django)

Aug 6, 2020

WebSockets in Django 3.1

Together with my wife, we run a small digital agency. We use Django as a primary web development framework and love simplicity. In this post, I will guide you on how to enable WebSockets in your Django application without installing third-party apps. Django has introduced the ASGI interface since version…

Python

6 min read

WebSockets in Django 3.1
WebSockets in Django 3.1
Alex Oleshkevich

Alex Oleshkevich

Following
  • Joaquín Menchaca (智裕)

    Joaquín Menchaca (智裕)

  • Sebastian

    Sebastian

  • Valery Semenenko

    Valery Semenenko

  • Insolita

    Insolita

  • Manolis Katsifarakis

    Manolis Katsifarakis

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable