May 26, 2019 » The Big Log » [Archived Version]
import demoVideo from './das-vid2-compressed.mp4' import demoVideo2 from './das-naive-comp.mp4' <div class="notice"> <div class="notice-content"> <p>Updated 24/03/2022: Django 4.0.3</p> </div> </div> This is a walkthrough tutorial on how to implement what's defined as “incremental search" in a Django app. We want results to refresh (with a tiny delay) as the user types their search term. We’ll also give a visual indication that the search is running by animating the search icon. Here's a demo o…
Read MoreMay 26, 2019 » The Big Log » [Archived Version]
Updated 24/03/2022: Django 4.0.3 This is a walkthrough tutorial on how to implement what’s defined as “incremental search” in a Django app. We want results to refresh (with a tiny delay) as the user types their search term. We’ll also give a visual indication that the search is running by animating the search icon. Here’s a demo of the final functionality: The source code for this tutorial is available on Github. Our app Don’t worry, not another blog or to-do app. This time it’s a musi…
Read MoreMay 22, 2019 » Django Chat » [Archived Version]
How to add user authentication to a Django website or API. Topics include sessions, tokens, JWTs, Social/OAuth, and more.
Read MoreMay 15, 2019 » Django Chat » [Archived Version]
How to make the most of a Python or Django conference.
Read MoreMay 8, 2019 » Django Chat » [Archived Version]
An interview with Robby Grodin from PathAI, a medical startup using Django to transform the field of pathology. We discuss switching from Java, microservices vs monoliths, and the challenges of hiring Django developers.
Read MoreMay 6, 2019 » Haki Benita » [Archived Version]
If you have a public facing Django site in multiple languages, you probably want to let Google and other search engines know about it.
Read MoreMay 1, 2019 » Django Chat » [Archived Version]
The Django Software Foundation is the non-profit in charge of Django. Its president, Frank Wiles, joins us to discuss how Django is run and how anyone in the community can become more involved.
Read MoreApril 28, 2019 » The Big Log » [Archived Version]
I've recently deployed a tiny changelog app in one of my Django projects. The models.py file looks like this: # changelog/models.py (truncated) class ChangeLog(models.Model): IMPROVEMENT = ('improvement', 'improvement') FEATURE = ('feature', 'feature') BUG = ('bugfix', 'bug fix') CHOICES = (IMPROVEMENT, FEATURE, BUG,) title = models.CharField(max_length=560) description = models.TextField(null=True, blank=True) category = models.CharField(choices=CHOICES, max_leng…
Read MoreApril 28, 2019 » The Big Log » [Archived Version]
I’ve recently deployed a tiny changelog app in one of my Django projects. The models.py file looks like this: # changelog/models.py (truncated) class ChangeLog(models.Model): IMPROVEMENT = ('improvement', 'improvement') FEATURE = ('feature', 'feature') BUG = ('bugfix', 'bug fix') CHOICES = (IMPROVEMENT, FEATURE, BUG,) title = models.CharField(max_length=560) description = models.TextField(null=True, blank=True) category = models.CharField(choices=CHOICES, max_leng…
Read MoreApril 27, 2019 » Clivern » [Archived Version]
Everyone want to keep Django timezone support but sometimes you need to keep your SQL queries a way from timezone conversion especially if by default your application timezone is UTC. Django will do something like this CONVERT_TZ(`app_incident`.`datetime`, 'UTC', 'UTC')) and it will return Null if the timezone table is empty. Even that conversion is not […] The post Django Custom Month and Year Lookup first appeared on Clivern.
Read More