Documentation | Mayan as INSTALLED_APPS into exisitng Djnago project

Questions, comments, discussions. Over time certain topics might be moved to their own category.
Post Reply
sganesh
Posts: 2
Joined: Wed Dec 02, 2020 4:48 am

Documentation | Mayan as INSTALLED_APPS into exisitng Djnago project

Post by sganesh »

Hi, Mayan works great and now I am trying the following

- There is an existing Django application foo
- Add Mayan as a djnago app to foo (ie. INSTALLED_APPS list)

I did not find any doc that mentioned the steps? does anyone know a guideline on the steps?
After pip install I did try include('mayan.urls') but that does not work
User avatar
rosarior
Developer
Developer
Posts: 624
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: Documentation | Mayan as INSTALLED_APPS into exisitng Djnago project

Post by rosarior »

Mayan is not an app but an entire project, therefore it is not possible to integrate Mayan into another Django app in the way you are attempting.

The reverse is possible, you can adapt Django apps and convert then into Mayan apps. We have spend a lot of time making Mayan to be extensible for this purpose. A custom app can make many changes for a Mayan installation and even undo things defined by other apps (like menus, links, themes, templates). You can use less ideal methods too to further modify other aspects not exposed via the internal services like icons, list columns and even the actual models themselves using proxy models. Using the official services and Python overloading techniques, an app can modify almost any aspect and create a completely customized Mayan installation.

You can also integrate your project with Mayan using the API.
Post Reply