• Tom Dekan
  • Posts
  • 💡Photon Designer mini-preview + Stream AI chats using Django in 5 minutes (OpenAI and Anthropic) 💧

💡Photon Designer mini-preview + Stream AI chats using Django in 5 minutes (OpenAI and Anthropic) 💧

Joke: Why as the Django QuerySet upset with the Model?

Latest Django content to boost you

Here’s the simplest (and fastest) way to send LLM completions from Anthropic or OpenAI to the browser in real-time using Django (using in-built server sent events). Here’s a preview below of the final product:

7 simple examples using Django GeneratedField ⚡️(Now with a video guide that’s performing with my best yet click-through rate on Youtube 🙂)

My best click-through rate on Youtube so far 🙂 Let me know if you’ve got any tips to improve.

Next up

My next planned content pieces for you are:

  • The simplest way to add Lottie animations to your Django app 🌀

  • Build a Connect Four game with HTMX and Django in 8 minutes 🟡🔴

  • Add Stripe subscriptions to Django in 7 minutes 💵 

🗳️ Here’s a link to vote for which one you want first. I’ll publish the most voted one this week: https://forms.gle/M16G9TWQsmKk4Qk76

Photon Designer progress

I expect to release a streamlined version of the Photon Designer MVP to you this week. Expect an email invite :)

This streamlined updated version will let you generate HTML templates from text (using a fine-tuned LLM), edit, and then export.
Here’s a mini-preview:

I expect to release this subset of Photon Designer this week 🚢 

P.S I really enjoyed speaking this week to Matthew 🇨🇦, Vince 🇺🇸, David 🇪🇸, Prashant 🇦🇺, Franz 🇦🇹, Subin 🇮🇳, and Keyton 🇺🇸,

If you haven't already, would you reply to this email with a one-liner saying hi and where you're from? This gives me the opportunity to say hello personally 🙂 I will respond to every message ✍️

— Joke —
Joke: Why as the Django QuerySet upset with the Model?

Because it was "excluded" 🎉