simonw / simonwillisonblog

The source code behind my blog
https://simonwillison.net/
Apache License 2.0
188 stars 17 forks source link

Draft mechanism #488

Closed simonw closed 1 day ago

simonw commented 1 day ago

I want to be able to create draft posts with secret URLs and share them with people before they go live.

simonw commented 1 day ago

Mostly implemented in here:

simonw commented 1 day ago

It's showing up in recent articles:

CleanShot 2024-09-17 at 23 27 40@2x

simonw commented 1 day ago

And in next/previous:

CleanShot 2024-09-17 at 23 28 26@2x

simonw commented 1 day ago

https://docs.djangoproject.com/en/5.1/ref/models/instances/#django.db.models.Model.get_next_by_FOO

simonw commented 1 day ago

Here's my test draft entry: https://simonwillison.net/2024/Sep/18/draft-entry/

simonw commented 1 day ago

That fixed it.

simonw commented 1 day ago

CleanShot 2024-09-18 at 00 00 45@2x

Count leaking through there.