Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor the toolbar out of the parent app #253

Merged
merged 1 commit into from
Apr 23, 2016

Conversation

mmerickel
Copy link
Member

@mmerickel mmerickel commented Apr 21, 2016

The tween will now dispatch directly to the toolbar for content instead of invoking subrequests into the parent application.

The benefits of this approach are that we are no longer subject to any odd configuration in the parent app that may affect the toolbar's view.

The toolbar was also registering pyramid_mako and was using the parent app to actually render the redirect interceptions and all of the exception views. I moved things around such that the toolbar app is now always used for rendering instead of the parent app.

@mmerickel
Copy link
Member Author

this should fix #248

@mmerickel mmerickel force-pushed the fix/separate-toolbar-app-from-host-app branch 4 times, most recently from 469cc2a to 1d2933b Compare April 22, 2016 04:58
@mmerickel mmerickel force-pushed the fix/separate-toolbar-app-from-host-app branch 2 times, most recently from ba7c4be to 7d3e313 Compare April 22, 2016 22:36
the tween will now dispatch directly to the toolbar for content
instead of invoking subrequests into the parent application

the benefits of this approach are that we are no longer subject to any
odd configuration in the parent app that may affect the toolbar's view

this change also stops polluting the parent application with
pyramid_mako and a dbtmako renderer - all toolbar features are now
rendered within the toolbar's isolated wsgi app
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.

1 participant