Open pconerly opened 9 years ago
I have a local instance up on ngrok, and I've configured it with my repo, and I'm getting a different error:
Hi,
The preview endpoint is called by prismic.io when you click the "preview" button in the writing room.
A token is generated that will enable the kit to retrieve the content corresponding to the document, even if it's a draft.
Hi,
I'm trying to figure out how to use this django project to preview a document. (I'm trying it in this project before integrating it into our actual site.)
I'm trying to preview this doc: http://lesbonneschoses-vbpnsiaaab4awxye.prismic.me/blog/VbqwmB0AAKsJc6S_/derp2
By trial and error I figured that the format is:
http://127.0.0.1:8000/preview?token=http://lesbonneschoses-vbpnsiaaab4awxye.prismic.me/blog/VbqwmB0AAKsJc6S_/derp2
Maybe include a comment about that in
views.py
?I'm also still getting an error---
Thoughts?