dhmit / democracy_africa

dhmit's spring 2020 project - Democracy and Development: Perspectives from Africa
4 stars 2 forks source link

Exempting views from iframe blocking, for embedding in edX #146

Closed ryaanahmed closed 3 years ago

ryaanahmed commented 3 years ago

Adds a convenience function iframe_embed_path in backend.config.urls that exempts certain views from Django's middleware that blocks iFrame embedding.

Need to expand this out a bit to also remove bits of UI that are just for the website version for these embeddable versions.