Make Sphinx Work With Django Project

Was having a heck of a time trying to get my Sphinx documentation to properly automodule my project. Eventually found this answer on a stackoverflow question, so here’s how they did it (so simple!). There are a few pieces of magic here. First, the sys.path.insert is done to the root of the project. That allows…

Read More

Django Tests

There’s so much I could write about django in general, but right now I’d like to address an issue that I just ran into and found a quick solution to. Using Model Bakery to create a new model (or really any ‘create’ action), custom save actions update the database, but not the model. The model…

Read More

Linux Commands

Some useful commands that I’ve found/have been shown to me. Use find to find all files that are not underneath folders named something specific (used for finding duplicates on Synology not in the @eaDir folders). Capitalization of the file extension matters. Used with rmlint: Also, grep can be used with an “exclude”: The one downside…

Read More

Add Alias to Synology Applications

This didn’t seem like it should be a big deal, but to make it easy to get to things like Synology Photos, a manual alias needs to be set. Go to Control Panel Login Panel Applications tab Double-click on the app Add your alias and save it From Synology Photos Quick Start Guide

Read More

PDM Workflow Conditions in SQL

Result of SQL Query

It took me a while to find the tables that stored the workflow conditions of a vault. It kind of makes sense once found, though. They’re treated as transition conditions but to transitions that aren’t visible to users with a source state that isn’t visible. From what I can tell, that source state is StatusID…

Read More

Netlify Large Media Setup

Every time I need to clone blog.wooster.xyz to a new computer, I have to remember how to setup the credentials for Netlify Large Media. I’ve enjoyed using their system for the image transformations that it can do separate from my install and their use of a CDN. However, it adds another layer of complication to…

Read More

DialogResult and the Cancel button

Cancel buttons can be an important part of working with forms. If no DialogResult is set, the form will close but the calling code will continue unhindered. To work properly, both the OK and Cancel actions should be set. First, make sure to be getting a result from the form: For cancel or close, the…

Read More

Special Characters in XML Comments

Something that I’ve come across a few times now is the need to include special characters in XML comments for custom methods. Specifically, when trying to show that a parameter or return is a List of something, how does one show the < and > in List<IEdmTransition10>? I kept trying to use ‘\’ or ‘\\’…

Read More