# Integrating discourse into Django site?

**URL:** https://meta.discourse.org/t/integrating-discourse-into-django-site/79084
**Category:** Self-hosting
**Created:** [January 26, 2018, 11:20am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084 "2018-01-26T11:20:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Openmind](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/openmind/32/88333_2.png) [@Openmind](https://meta.discourse.org/u/Openmind)
#### Post date: [January 26, 2018, 11:20am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/1 "2018-01-26T11:20:15Z")

</div>

Hi, is it possible to integrate Discourse into a Phyton based Django site? I ask because Discourse’s backend is written in Ruby on Rails. Many thanks, Torsten

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [January 26, 2018, 11:31am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/2 "2018-01-26T11:31:19Z")

</div>

It might help if you could describe what you’re trying to achieve. Our main site runs on Django and it was fairly easy to set up SSO for Discourse. Other than logging in and copying some basic user info, that’s all the integration we need. So if that’s enough for you too, then yes 🙂

---

<div class="post-metadata">

### Author: ![Openmind](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/openmind/32/88333_2.png) [@Openmind](https://meta.discourse.org/u/Openmind)
#### Post date: [January 26, 2018, 11:44am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/3 "2018-01-26T11:44:23Z")

</div>

Yes, that’s pretty much what I wanted to hear 🙂 Many thanks for your swift response.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [January 26, 2018, 11:47am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/4 "2018-01-26T11:47:05Z")

</div>

FYI

[https://meta.discourse.org/t/sso-example-for-django/14258](https://meta.discourse.org/t/sso-example-for-django/14258)

---

<div class="post-metadata">

### Author: ![Daniel\_McQuillen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_mcquillen/32/160806_2.png) [@Daniel\_McQuillen](https://meta.discourse.org/u/Daniel_McQuillen)
#### Post date: [November 10, 2019, 10:49pm UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/5 "2019-11-10T22:49:37Z")

</div>

@vinothkannans Thanks for posting that link. However, it isn’t available or is private. Do you know if that example for sso with Django is available publicly?

@bartv any links / more thoughts you could share on examples of sso between Django \<\> Discourse

Thanks!

---

<div class="post-metadata">

### Author: ![Daniel\_McQuillen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_mcquillen/32/160806_2.png) [@Daniel\_McQuillen](https://meta.discourse.org/u/Daniel_McQuillen)
#### Post date: [November 10, 2019, 10:54pm UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/6 "2019-11-10T22:54:55Z")

</div>

For anyone else looking I did find this gist:

> <https://gist.github.com/alee/3c6161809ef78966454e434a8ed350d1>

---

<div class="post-metadata">

### Author: ![shawnngtq](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawnngtq/32/182367_2.png) [@shawnngtq](https://meta.discourse.org/u/shawnngtq)
#### Post date: [October 24, 2021, 1:14am UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/7 "2021-10-24T01:14:15Z")

</div>

Anyone has any links/doc/guide to share?

It has been close to 2 years so what used to work may become invalid 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:36pm UTC](https://meta.discourse.org/t/integrating-discourse-into-django-site/79084/8 "2024-06-08T12:36:50Z")

</div>

This topic was automatically closed after 2325 days. New replies are no longer allowed.
