mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Update multi_institutions.md
This commit is contained in:
parent
e2afa14d72
commit
a6cc02e7bd
|
|
@ -7,7 +7,7 @@ Starting from version 5.1, you can add institutions into Seafile and assign user
|
|||
In `seahub_settings.py`, add `MULTI_INSTITUTION = True` to enable multi-institution feature. And add
|
||||
|
||||
```
|
||||
EXTRA_MIDDLEWARE_CLASSES += (
|
||||
EXTRA_MIDDLEWARE += (
|
||||
'seahub.institutions.middleware.InstitutionMiddleware',
|
||||
)
|
||||
```
|
||||
|
|
@ -15,12 +15,12 @@ EXTRA_MIDDLEWARE_CLASSES += (
|
|||
or
|
||||
|
||||
```
|
||||
EXTRA_MIDDLEWARE_CLASSES = (
|
||||
EXTRA_MIDDLEWARE = (
|
||||
'seahub.institutions.middleware.InstitutionMiddleware',
|
||||
)
|
||||
```
|
||||
|
||||
if `EXTRA_MIDDLEWARE_CLASSES` is not defined.
|
||||
if `EXTRA_MIDDLEWARE` is not defined.
|
||||
|
||||
## Add institutions and institution admins
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue