Markus Blog

Django Toy Project

…where I am building a simple data collection backend using modern Django.

Goals

  • Get to know Django hands on
  • Create a simple REST database from ground up using current Django
  • Stick to the tools that come with Django How compact can the project be (in terms of lines of code)?
  • See htmx from close up and how it plays with Django

The Story

As a companion for my SwiftUI App Toy Project, here comes a cloud component. Users can register, create assignments and take on assignments from others. An assignment consists of one or more elements, their configuration depends on the type of element: the UI is updated depending on the selection. All done jobs from the App are unloaded here and are available to the user who created the assignment for the job. The accumulated data can be exported as xlsx (only partial implementation of .NORM Normal File Format).

Takeaways

  • It is amazing how a little customization idea can cause a lot more code than a powerful but standard component
  • htmx does a really good job at pretending to avoid JavaScript (while it is written in JS)