• Plugins can now be enabled and disabled in production (when running in gunicorn/uWSGI) without bringing the server down πŸ˜€.

    The issue was that only a single process (the one that handled the request) got the plugin dynamically enabled. When the other processes tried to lookup urls/templates from the plugin, it didn't exist as it's not enabled and returned an error.
  • I think I'm happy with the Plugin List page in Tanzawa.

    Plugins List
  • Plugins providing custom pages in the Tanzawa admin. How the now page plugin is looking.
    Now admin
  • Bam! Tanzawa migrations for enabled plugins (loaded via the db) will automatically migrate on Django startup.Not sure how smart this is, but I’m gonna roll with it.
  • Yes! When you enable / disable plugins in Tanzawa they can dynamically add urls to your site (which also disappear when you disable said plugin).Β 

    I found the main method on the blog of the head of engineering at my current company. Small world.
  • @manton Did micro.blog stop sending webmentions? Not getting them for the past couple of posts that have gotten comments.
  • Enjoying some pizza watching the carps with Leo.
    Getting that bread.
  • Just found a hole in my DarnTough socks. They're some of my favorites and they've got an unconditional lifetime warranty. Going to give it a try. ( And maybe order me a pair for running in the mean time)
  • in Chuo, Japan
    Commuting with noise canceling ear buds, in my case AirPodPros, changes the experience entirely. Just putting them in transports you to a quiet, peaceful place. When you take them out and your eardrums get assaulted by the noisy world is when you realize, you can’t go back.
  • I've been blocked with Tanzawa development for a while as I mull how to simultaneously use Tanzawa to make my own unique site and let it be flexible enough for others without making them adapt to everything I do. If someone else is using Tanzawa to power their site, I want it to be an expression of them, not me.

    I recently figured out the answer to allow this: plugins.

    Inspired by @maique's Tanzawa Love post, I finally sat down and started working on what plugins might look like. Ideally a plugin should be able to customize or extend anything anywhere, but I'm starting small: adding things to public pages.

    This is the first plugin: a widget to display the current localtime in the top nav.

    Localtime displayed in Tanzawa...by a Plugin


    I imagine the capabilities growing over time. I'd like to let plugins store and manage data (e.g. settings), let them schedule periodic work ( e.g. call this api every hour and do something ), and maybe even run background tasks. But for now they're simple. Thank you for the inspiration @maique!
Previous 36 of 61 Next