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

Spirit 0.5 integration into mezzanine- help!! #222

nabeelakhtar9 opened this issue Nov 14, 2017 · 1 comment


Copy link

commented Nov 14, 2017

Hello Nitely! I really like your package. Your forum is perfect according to my need.

My problem is that I have been trying to integrate Spirit in to my mezzanine project. I tried a couple things around the internet but was unlucky.

I tried #192 but i found that Starting from Spirit 0.5 all of this will no longer be valid.

Kindly guide me how can i integrate spirit 0.5 and plus into mezzanine. Thanks


This comment has been minimized.

Copy link

commented Nov 17, 2017


This seems to be a common request so I'll try and add a guide to the docs this weekend. But for now you can try this:

First of, do all of this on a local machine first, not in the production site.

Install Spirit and make sure it works:

# piping the repo is required since Spirit v0.5 is not out yet
pip install --upgrade
spirit startproject mysite
cd mysite
python spiritinstall
python createsuperuser
python runserver

All of this is required so you can copy Spirit settings into your mezzanine project. This should have generated /mysite/settings/ You've to [manually] merge that file's content with your current site's

Include Spirit URLs into the mezzanine project by adding import spirit.urls and url(r'^forum/', include(spirit.urls)), into

Then run:

# spiritinstall runs migrate and collectstatics
python spiritinstall
python createsuperuser
python runserver

That should be it.

@nitely nitely closed this Jan 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.