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'
Metadata
Release files for django-rss-link-view 2020.7.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 | |
|---|---|---|---|
| django-rss-link-view-2020.7.1.tar.gz | 1.8 kB | Details |
Release files / django-rss-link-view-2020.7.1.tar.gz
| Download URL | django-rss-link-view-2020.7.1.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26230ce3b5681ec67c042cb9898624cda0ed1ae9338970024b577f4c274243ab
|
|
BLAKE2b-256 checksum How to use checksums |
ccffc47276f72241a6d5dceb0d06a1156db335e66354c92f67b189fc0d661ea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|