Installation¶
Tested against Django 1.8 and greater.
Install Django Podcasting with your favorite Python package manager:
pip install django-podcasting
Add
"podcasting"
,"django.contrib.sites"
, and the optional apps of your choice to theINSTALLED_APPS
setting in yoursettings.py
:INSTALLED_APPS = ( ... "django.contrib.admin", "django.contrib.sites", ... "podcasting", ... )
Include
podcasting.urls
andpodcasting.urls_feeds
in your urls definition:url(r"^podcasts/", include("podcasting.urls")), url(r"^feeds/podcasts/", include("podcasting.urls_feeds")),
Optional Dependencies¶
The following features are expected to work with the most recent versions of the following libraries, if you find an issue please report it on github.
Thumbnails¶
You may chose between the following three thumbnail libraries or none, if imagekit is installed django-podcsating will use that, else it will check for easy-thumbnails, followed by sorl.
- django-imagekit:
pip install django-imagekit
- easy-thumbnails:
pip install easy-thumbnails
Here is an example settings.THUMBNAIL_ALIASES
for
easy-thumbnails. iTunes sizes are to spec.:
THUMBNAIL_ALIASES = {
"podcasting.Show.original_image": {
"sm": {"size": (120, 120)},
"lg": {"size": (550, 550)},
"itunes_sm": {"size": (144, 144)},
"itunes_lg": {"size": (1400, 1400)},
},
"podcasting.Episode.original_image": {
"sm": {"size": (120, 120)},
"lg": {"size": (550, 550)},
"itunes_sm": {"size": (144, 144)},
"itunes_lg": {"size": (1400, 1400)},
},
}
-
pip install sorl-thumbnail
Tagging¶
If django-taggit is installed, tagging will be enabled for Episodes and Shows:
- django-taggit:
pip install django-taggit
If python-twiiter is installed, automatic posts for new tweets is possible:
Tagging¶
If django-licenses is installed, the show will contain the license field which which is helpful for publishing podcasts on iTunes:
- django-licenses:
pip install django-licenses
If python-twiiter is installed, automatic posts for new tweets is possible:
Tweeting¶
Want to send a tweet every time a new Episode is created?
- python-twitter:
pip install python-twitter
Media Embedding¶
Want to display Youtube, Vimeo or Soundcloud content on Episode detail pages?
- django-embed-video:
pip install django-embed-video