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

How to render CMS page without render_block output #9

Closed
samluescher opened this issue Feb 8, 2012 · 1 comment
Closed

How to render CMS page without render_block output #9

samluescher opened this issue Feb 8, 2012 · 1 comment

Comments

@samluescher
Copy link

Suppose you are pulling a page with via Xhr, and since render_block cannot be within an {% if request.is_ajax %}, and Django CMS cannot render the page using another template if ajax, and the render_block css and render_block js screw up the output and make it unnecessarily large:

How would you return the page without those parts if is_ajax?

@ojii
Copy link
Collaborator

ojii commented Jan 18, 2013

out of scope of django-sekizai, should be discussed on django-cms forums.

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

No branches or pull requests

2 participants