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
File details
Details for the file django-rss-link-view-2020.7.1.tar.gz
.
File metadata
- Download URL: django-rss-link-view-2020.7.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26230ce3b5681ec67c042cb9898624cda0ed1ae9338970024b577f4c274243ab |
|
MD5 | c899bfc84e34c19c0f0469215e5e4ef1 |
|
BLAKE2b-256 | ccffc47276f72241a6d5dceb0d06a1156db335e66354c92f67b189fc0d661ea7 |