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

Allow rendering function views #130

Closed
NDevox opened this issue Oct 13, 2018 · 1 comment
Closed

Allow rendering function views #130

NDevox opened this issue Oct 13, 2018 · 1 comment

Comments

@NDevox
Copy link

NDevox commented Oct 13, 2018

It's useful to be able to render function views as well as class views, models and templates.

This would allow greater flexibility to do things such as solve issue #88 (the reason why I initially went down this road).

I've used a similar method to solve rendering wagtail sitemaps statically here.

I'm submitting a PR (as I write this) which does something similar but is a bit more flexible and allows for different types of Django view return types (strings or HttpResponses).

@palewire
Copy link
Owner

palewire commented Dec 5, 2018

This discussion has moved to #131. I think we can close this ticket.

@palewire palewire closed this as completed Dec 5, 2018
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 a pull request may close this issue.

2 participants