Skip to content

Adding request context to scribble context#178

Open
PetrDlouhy wants to merge 3 commits intocaktus:masterfrom
PetrDlouhy:context-fix
Open

Adding request context to scribble context#178
PetrDlouhy wants to merge 3 commits intocaktus:masterfrom
PetrDlouhy:context-fix

Conversation

@PetrDlouhy
Copy link
Contributor

New take on #115.

I rebased the code to the current master and fixed RequestContext problem with new Django.
I also addressed the notice about modifying context.

I tested this and the preview works for me fine.
It has blank context, so the variables are blank, but I don't expect them to work in preview and I don't consider it to be a problem. It is still much better than not being able to use variables at all.

The only time the preview didn't work was when I had unclosed <div> tags in the scribble - then the preview disappeared completely. But that is whole another issue.

@ronardcaktus ronardcaktus self-requested a review September 18, 2024 17:19
@ronardcaktus
Copy link
Member

@PetrDlouhy I will try to take a look at this as soon as I can.

@PetrDlouhy
Copy link
Contributor Author

@ronardcaktus Thank you very much. Let me know if anything would need to be done for the new release.

I am not sure about the tests in this project - it seems that they are just turned off. Maybe if you just turn them on, I could try to make sure this passes them correctly.

@PetrDlouhy
Copy link
Contributor Author

@ronardcaktus Would you be able to find some time for this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants