Django应用程序与Ezengage服务协同工作
django-ezengage的Python项目详细描述
Django Ezengage
安装
从https://github.com/ezengage/django ezengage/downloads/
2下载最新版本。解压缩存档文件
3。运行:
python setup.py install
:
添加“ez将url`验证为url conf
::
urlpatterns+=模式('',
(r'^eze/',包括('eze_auth.urls'),
)
sync database
---------
::
./manage.py syncdb eze庠auth
:
>
/manage.py migrate eze-eau-auth
=>
>
:
{{%loadeeze-eau-tags%}
{{%eze-eze-登录小部件'/af/登录/登录/完成/'%}
auth.helper导入从eze auth.models导入ezeuserprofile
identity=ezeuserprofile.objects.get(user=request.user)
message='将状态更新到…'
eze_api_client=get_api_client()
eze_api_client.update_status(identity.identity,消息)
安装
从https://github.com/ezengage/django ezengage/downloads/
2下载最新版本。解压缩存档文件
3。运行:
python setup.py install
:
添加“ez将url`验证为url conf
::
urlpatterns+=模式('',
(r'^eze/',包括('eze_auth.urls'),
)
sync database
---------
::
./manage.py syncdb eze庠auth
:
>
/manage.py migrate eze-eau-auth
=>
>
:
{{%loadeeze-eau-tags%}
{{%eze-eze-登录小部件'/af/登录/登录/完成/'%}
auth.helper导入从eze auth.models导入ezeuserprofile
identity=ezeuserprofile.objects.get(user=request.user)
message='将状态更新到…'
eze_api_client=get_api_client()
eze_api_client.update_status(identity.identity,消息)