By submitting this pull request you agree that all contributions to this project are made under the MIT license.
Description
There are some realistic edge cases where template rendering can occur before the reactpy_django database table exists (#152). This scenario is not common, but can exist if using HTML postprocessors.
Make it so that component template tag render failures don't cause catastrophic failure.
component template tag render failures now output a visual indicator if REACTPY_DEBUG_MODE is enabled.
Render <hr> via raw HTML within the tests so that component render failures don't break formatting
Fix typo on the docs
Ensure generate_object_name always returns a string
Checklist:
Please update this checklist as you complete each item:
[x] Tests have been included for all bug fixes or added functionality.
[x] The changelog has been updated with any significant changes, if necessary.
[x] GitHub Issues which may be closed by this PR have been linked.
By submitting this pull request you agree that all contributions to this project are made under the MIT license.
Description
There are some realistic edge cases where template rendering can occur before the
reactpy_django
database table exists (#152). This scenario is not common, but can exist if using HTML postprocessors.component
template tag render failures don't cause catastrophic failure.component
template tag render failures now output a visual indicator ifREACTPY_DEBUG_MODE
is enabled.<hr>
via raw HTML within the tests so that component render failures don't break formattinggenerate_object_name
always returns a stringChecklist:
Please update this checklist as you complete each item: