django应用程序将shibboleth嵌入式发现服务嵌入到django项目中。
django-shibboleth-eds的Python项目详细描述
#django shibboleth eds
将[shibboleth embedded discovery service(eds)][1]嵌入到django项目中的应用程序。
安装应用程序(即使用pip)
2。将其添加到“已安装的应用”中:
``python
installed\u apps+=(
'shibboleth\u eds',
)
```
3。将其添加到“url.py”:
``python
urlpatterns+=[
url(r'^ds/',include('shibboleth-eds.url',namespace='shibboleth-eds'),
]
````
4。运行“manage.py collectstatic”。
根据需要修改“views.py”中的设置。
[1]:http://shibboleth.net/products/embedded-discovery-service.html“shibboleth嵌入式发现服务”
将[shibboleth embedded discovery service(eds)][1]嵌入到django项目中的应用程序。
安装应用程序(即使用pip)
2。将其添加到“已安装的应用”中:
``python
installed\u apps+=(
'shibboleth\u eds',
)
```
3。将其添加到“url.py”:
``python
urlpatterns+=[
url(r'^ds/',include('shibboleth-eds.url',namespace='shibboleth-eds'),
]
````
4。运行“manage.py collectstatic”。
根据需要修改“views.py”中的设置。
[1]:http://shibboleth.net/products/embedded-discovery-service.html“shibboleth嵌入式发现服务”