Skip to content

Conversation

dickermoshe
Copy link

Description

Calling reverse("reactpy:web_modules", args=["/"]) in the main script will always raise a NoReverseMatch exception because the app is not loaded yet.

This also causes a bug that affects the unfold project, however that is not the primary cause for this bug.

I moved this function to the body of the component function.

Checklist

Please update this checklist as you complete each item:

  • Tests have been developed for bug fixes or new functionality.
  • The changelog has been updated, if necessary.
  • Documentation has been updated, if necessary.
  • GitHub Issues closed by this PR have been linked.

By submitting this pull request I agree that all contributions comply with this project's open source license(s).

Calling `reverse("reactpy:web_modules", args=["/"])` in the main script will always raise a `NoReverseMatch` exception becuase the app is not loaded yet. This also causes a bug that affects the unfold project, however that is not the primary cause for this bug.
@dickermoshe
Copy link
Author

My bad, disregard

@dickermoshe dickermoshe closed this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant