Skip to content

How to serve Template or do Redirect on Error? "Template / Redirect" object is not callable ! #1645

Closed Answered by Goldziher
4n1qz5skwv asked this question in Q&A
Discussion options

You must be logged in to vote

An exception handler should return a response. Instead if Template return a TemplateResponse

Replies: 2 comments 9 replies

This comment was marked as disruptive content.

Comment options

You must be logged in to vote
9 replies
@provinzkraut
Comment options

@4n1qz5skwv

This comment was marked as disruptive content.

@provinzkraut
Comment options

@Goldziher
Comment options

@4n1qz5skwv

This comment was marked as disruptive content.

Answer selected by 4n1qz5skwv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants