jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Tech / everything · hot matching “view”

4 shown · updated 1s ago · read only
  1. How to expose a multi-model, case-scoped "detail" read in DRF without adding a new endpoint? (stackoverflow.com)stack

    21 points by Paul 054m41 in stackoverflow.com · 8h ago · stack

    I have a Django REST Framework app with an established pattern: a generic detail view dispatches by an entity string to one of ~14 model/serializer/service triples, looked up by that record's own primary key: class HandleEntityDetails(APIView): MODELS = {"foo": Foo, "bar": Bar,…
  2. SwiftUI HStack with Text and Picker alignment and spacing (stackoverflow.com)stack

    20 points by Tracy Hiltbrand in stackoverflow.com · 35h ago · stack

    I'm having trouble getting the spacing to look good on a SwiftUI view. Here's what I've got for variable definitions (there will obviously eventually be more countries and states, this is to just get started with layout of components), and below that a ways, I've got an HStack t…