Links

   Quran Explorer - Interactive Audio Recitations & Translations

Thursday, March 27, 2014

Add Mezzanine to an existing Django Project

 

I dont take any credit for the following content.. Its here solely for (my) future reference and has been taken directly from the Mezzanine FAQs page

 

How can I add Mezzanine to an existing Django project?

Mezzanine is a Django project made up of multiple Django apps, and is geared towards being used as the basis for new Django projects, however adding Mezzanine to an existing Django project should be as simple as adding the necessary settings and urlpatterns.
Mezzanine contains a project_template directory, which it uses to create new projects. In here you’ll find the necessary settings.py and urls.py modules, containing the project-level setup for Mezzanine. Of particular note are the following settings:
  • INSTALLED_APPS
  • TEMPLATE_CONTEXT_PROCESSORS
  • MIDDLEWARE_CLASSES
  • PACKAGE_NAME_GRAPPELLI and PACKAGE_NAME_FILEBROWSER (for django-grappelli and django-filebrowser integration)
  • The call to mezzanine.utils.conf.set_dynamic_settings at the very end of the settings.py module.

1 comment:

  1. This was a problem in when local django is 1.4 and the production version is 1.6 !!

    ReplyDelete

Feel free to leave a comment