معرفی شرکت ها


django-twitter-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

An inobstrusive way to login with Twitter into your Django application.
ویژگی مقدار
سیستم عامل -
نام فایل django-twitter-0.1.0
نام django-twitter
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Antonio Hinojo
ایمیل نویسنده hello@ahmontero.com
آدرس صفحه اصلی http://github.com/ahmontero/django-twitter
آدرس اینترنتی https://pypi.org/project/django-twitter/
مجوز Copyright (c) 2013 Antonio Hinojo. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
django-twitter allows your users to login into your application using Twitter in a easy way. How To Use ========== 1. Add 'twitter' to your apps list 2. Include('twitter.urls') in your url app 3. Add in settings.py: CONSUMER_KEY = "your_consumer_key" CONSUMER_SECRET = "your_consumer_secret" CALLBACK_URL = 'your_awesome_url' CONSUMER_KEY: You can obtain it from your Twitter account. CONSUMER_SECRET: You can obtain it from your Twitter account. CALLBACK_URL: is the url inside your application that should be shown when the authentication process went ok. It must be same as Twitter callback url. 4. Connect with tokens_received signal: from twitter import signals def tokens_received(sender, request, screen_name, oauth_token, oauth_token_secret, **kwargs): #Your stuff here signals.tokens_received.connect(tokens_received) How it works ============ To insert the link to Twitter, include this in your template : {% url twitter_begin_auth %} in a link. When the user click on the link, is redirected to Twitter, and once logged in, it will redirect you to CALLBACK_URL in your application and tokens_received signal will be raised. NOTE: ----- Remember that your Twitter callback url must be the same as CALLBACK_URL Dependencies ============ djano-twitter uses Django 1.3 and oauth2 References ========== Some parts of Twython have been adapted to make possible this application. Thanks to Twython creator for share with us so amazing code. Version 0.1.0 + Initial release


نحوه نصب


نصب پکیج whl django-twitter-0.1.0:

    pip install django-twitter-0.1.0.whl


نصب پکیج tar.gz django-twitter-0.1.0:

    pip install django-twitter-0.1.0.tar.gz