Closed nijel closed 1 month ago
@nijel while reviewing this PR the thought occurred to me: why don't we pass the token directly as configuration? Avoids the need to go looking for it in different places and it assures the token is always available.
What do you think? I've pushed a commit to your branch that implements this.
Great idea. That avoids dependency on the Django configuration and page content.
This works if I manually modify JavaScript, but I have no knowledge of typescript, so there might be something missing.
Fixes #14