![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
django-odnoklassniki-discussions
Advanced tools
Приложение позволяет взаимодействовать с дискуссиями соц. сети Одноклассники, их статистикой и пользователями групп через OK API используя стандартные модели Django
pip install django-odnoklassniki-discussions
В settings.py
необходимо добавить:
INSTALLED_APPS = (
...
'oauth_tokens',
'taggit',
'odnoklassniki_api',
'odnoklassniki_groups',
'odnoklassniki_users',
'odnoklassniki_discussions',
)
# oauth-tokens settings
OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens
OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_PUBLIC = '' # application public key
OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_SECRET = '' # application secret key
OAUTH_TOKENS_ODNOKLASSNIKI_SCOPE = [''] # application scopes
OAUTH_TOKENS_ODNOKLASSNIKI_USERNAME = '' # user login
OAUTH_TOKENS_ODNOKLASSNIKI_PASSWORD = '' # user password
>>> from odnoklassniki_discussions.models import Group
>>> Group.remote.fetch(ids=[47241470410797])
[<Group: Кока-Кола>]
Для этого необходимо установить дополнительно приложения:
django-odnoklassniki-users
и добавить его в INSTALLED_APPS
django-m2m-history
>>> from odnoklassniki_discussions.models import Group
>>> group = Group.remote.fetch(ids=[47241470410797])[0]
>>> group.update_users()
>>> group.users.count()
987
FAQs
Django implementation for odnoklassniki API Discussions
We found that django-odnoklassniki-discussions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.