djangocms-twitter2
Use djangocms-twitter2 to embed a timeline for Tweets from an individual user, a user’s favorites or any search query or hashtag.
This project requires django-connected and django-cms v3.0 or higher to be properly installed and configured. When installing the djangocms-twitter2 using pip, django-connected will also be installed automatically.
Preview
Please click on thumbnail for bigger image.
Quickstart
Install djangocms-twitter2:
pip install djangocms-twitter2
Add djangocms_twitter to INSTALLED_APPS:
INSTALLED_APPS = ( ... 'connected_accounts', 'connected_accounts.providers', 'djangocms_twitter', ... )To enable Twitter as a provider for django-connected — you can register an app on Twitter via https://apps.twitter.com/app/new:
CONNECTED_ACCOUNTS_TWITTER_CONSUMER_KEY = '<twitter_consumer_key>' CONNECTED_ACCOUNTS_TWITTER_CONSUMER_SECRET = '<twitter_consumer_secret>'
Sync database (requires south>=1.0.1 if you are using Django 1.6.x):
python manage.py migrate
Configuration
Plugin(s) Module - If module is None, plugin is grouped Generic group:
DJANGOCMS_TWITTER_PLUGIN_MODULE = _('Generic')
Name of the plugin:
DJANGOCMS_TWITTER_PLUGIN_NAME = _('Twitter')
Can this plugin only be attached to a placeholder that is attached to a page:
DJANGOCMS_TWITTER_PAGE_ONLY = False
A list of Plugin Class Names. If this is set, this plugin may only be added to plugins listed here:
DJANGOCMS_TWITTER_PARENT_CLASSES = None
Is it required that this plugin is a child of another plugin? Or can it be added to any placeholder:
DJANGOCMS_TWITTER_REQUIRE_PARENT = False
Whether this plugin can be used in text plugins or not:
DJANGOCMS_TWITTER_TEXT_ENABLED = False
The path to the default template used to render the template:
DJANGOCMS_TWITTER_DEFAULT_TEMPLATE = 'djangocms_twitter/default.html'
or override the Design dropdown choices to have different design options:
DJANGOCMS_TWITTER_TEMPLATES = (
('djangocms_twitter/default.html', _('Default')),
)
You may also like…
djangocms-disqus - https://github.com/mishbahr/djangocms-disqus
djangocms-fbcomments - https://github.com/mishbahr/djangocms-fbcomments
djangocms-forms — https://github.com/mishbahr/djangocms-forms
djangocms-gmaps — https://github.com/mishbahr/djangocms-gmaps
djangocms-instagram — https://github.com/mishbahr/djangocms-instagram
djangocms-responsive-wrapper — https://github.com/mishbahr/djangocms-responsive-wrapper
djangocms-youtube — https://github.com/mishbahr/djangocms-youtube
Metadata
Release files for djangocms-twitter2 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djangocms-twitter2-0.1.1.tar.gz | 15.2 kB | Without provenance | Details for djangocms-twitter2-0.1.1.tar.gz |
Release files / djangocms-twitter2-0.1.1.tar.gz
| Download URL | djangocms-twitter2-0.1.1.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7630d1567101235650e95092a6d2e849909085cfa20d2ad8120451321bdd78d1
|
|
BLAKE2b-256 checksum How to use checksums |
83da2e212d9934258817dbc7a073ead9a4f014f2361f4eff8e7b3d6fa000b3f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for djangocms-twitter2 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.