Week nine saw work on the window shelves, laundry shelf, and stair door.
Here’s how things are looking.
Week nine saw work on the window shelves, laundry shelf, and stair door.
Here’s how things are looking.
A longstanding inconvenience posting on my site has been selecting myself as the Author for each post. Now the logged-in user’s profile (me) is the default when creating a new post.
I made some changes to my Notes:
@ben@social.benjaminturner.me ah yes, I see. I have ideas but nothing concrete. Something along the lines of an abstract model giving structure for models that support micropub? and then a view mixin like you have that can handle the micropub request parsing/response returning…
Thanks for sharing!
@ben@social.benjaminturner.me sure! https://github.com/blineberry/django-micropub-poc
Commit ce3cd78
is the last one that works. A lot more on the IndieAuth than the Micropub side.
Where is your from_url
method? Getting the relevant model from the url was a tricky spot. I settled django.urls.resolve
, but that still felt like I needed to do a lot of manual checking.
And did you find a clean way to convert the form data into something useful? I was trying to convert it to json and then only work with json, but never completed.