Django rss link view mixin
Project description
Installation
$ [sudo] pip install django-rss-link-view
views.py
from django_rss_link_view.views import RssLinkMixin
class MyView(RssLinkMixin,...):
def get_atom_title(self):
return 'atom title'
def get_atom_url(self):
return 'path/to/atom.xml'
def get_rss_title(self):
return 'rss title'
def get_rss_url(self):
return 'path/to/rss.xml'
class MyView(RssLinkMixin,...):
atom_title = 'atom title'
atom_url = 'path/to/atom.xml'
rss_title = 'rss title'
rss_url = 'path/to/rss.xml'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-rss-link-view-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26230ce3b5681ec67c042cb9898624cda0ed1ae9338970024b577f4c274243ab |
|
MD5 | c899bfc84e34c19c0f0469215e5e4ef1 |
|
BLAKE2b-256 | ccffc47276f72241a6d5dceb0d06a1156db335e66354c92f67b189fc0d661ea7 |