JF's Dev Blog

Django, Vue, and other things, too

Archives for 2018

Writing Unit Tests for Celery Tasks with async Functions

In which John leverages asgiref's async_to_sync to unit test a Celery task that depends on an asynchronous Python function.

Continue reading »

A Modern Django Admin Using Wagtail

In which John uses Wagtail to create a client-friendly admin interface for a Django project.

Continue reading »

Writing a Vue.js App in Python

In which John uses Transcrypt to write a Vue.js app using Python--without writing a line of JavaScript.

Continue reading »

Writing reusable ModelForm templates with Django

In which John writes universal Django template for CreateView and UpdateView--and one for DeleteView although it isn't as exciting.

Continue reading »

A Responsive Blog Layout Using CSS Grid

In which John uses CSS Grid to create a simple, responsive blog layout.

Continue reading »