I’m contemplating returning to php just for the shared hosting pricing
I’m contemplating returning to php just for the shared hosting pricing
Hobbies include: searching for cheap web hosting and coming up empty
@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.
Funnily, Megan repeatedly asked me what I was working on in the evenings, and it was days until we realized she thought “micropub” had something to do with beer.