Steve Lacey

Results 65 comments of Steve Lacey

After a few months the translations started to get unwieldy, so I've now broken them up into multiple json files that I stitch together with path-based rules for vue-i18n, and...

Yeah this would be great, assertion of the pivot fields on add and edit attachment would also be handy

@SpacePossum yes, whilst those examples aren't really what I'm after, that's what the effect would be, in short, I want to enforce a minimum of 1 space, without enforcing or...

Also worth noting that this also applies when entering gibberish into the field, basically anything that doesn't match an `option` results in the previously selected option being submitted.

Hah, maybe this has always been a thing, reading through [src/assets/js/scripts.js#L39](https://github.com/stevelacey/ghostium/blob/master/src/assets/js/scripts.js#L39) I would expect the selector to read `img[src]:first`

Also happens with `B.x.field`, the wrapper breaks anything that introspects models

This works fwiw ```py from model_utils.tracker import DescriptorWrapper @property def field(self): return self.descriptor.field @property def get_queryset(self): return self.descriptor.get_queryset DescriptorWrapper.field = field DescriptorWrapper.get_queryset = get_queryset ```

I am really not sure what's going on with DescriptorWrapper or why it doesn't quack like a duck if it's wrapping fields. I am kind of surprised this doesn't cause...