django-ezengage

Django-app werkt met Ezengage Service
Download nu

django-ezengage Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Other/Proprietary Li...
  • Naam uitgever:
  • ftao
  • Uitgever website:
  • http://ezengage.com

django-ezengage Tags


django-ezengage Beschrijving

Django-app werkt met Ezengage Service Django-ezengage is een Django-app die werkt met de Ezengage Service.Installatie1. Download nieuwste versie van https://github.com/ezengage/django-ezengage/downloads/2. Unzip het archief3. Run Python Setup.py Install We zullen het bestand uploaden naar PYPI, dus je kunt installeren met easy_install .configurationadd `Eze_Auth 'om te installeren_apps geïnstalleerd_apps = (# .....' Eze_Auth ', # ....} Toevoegen` Eze_Auth. AUTH_BAKENDS.EZENGAGEBAKEND "om authenticatie te authentication_backds-authentication_backends = ('Django.contrib.auth.backends.modelbackend', 'Eze_auth.auth_backends.ezengageBackend',) Toevoegen` Eze_Auth_urls 'aan URL Conf Urlpatterns + = Patterns (' ', (r' / ', opnemen (' Eze_Auth.urls '))),) Synchronisatie-database ./Manage.py SyncDB Eze_Authif U gebruikt South, Run ./Manage.py Migrate Eze_Authembed Login-widget in Sjabloon {% Load Eze_Tags%} {% Eze_Login_Widget' / After / login / voltooid / '%} Update-status van Eze_Auth.Helper import get_api_client van Eze_Auth.models import Ezeuserprofile Identity = Ezeuserprofile.Objects.get (gebruiker = aanvraag.user) Message =' Update Status to ... 'Eze_api_client = get_api_client () eze_api_client.update_status (identiteit.Identity, bericht) Vereisten: · Python · Django


django-ezengage Gerelateerde software