Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idlesign/django-yaturbo
Reusable Django app to enable Yandex Turbo Pages for your site
https://github.com/idlesign/django-yaturbo
django python python2 python3 rss syndication yandex yandex-turbo yandex-turbo-pages
Last synced: about 2 months ago
JSON representation
Reusable Django app to enable Yandex Turbo Pages for your site
- Host: GitHub
- URL: https://github.com/idlesign/django-yaturbo
- Owner: idlesign
- License: bsd-3-clause
- Created: 2018-07-12T12:19:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T12:53:56.000Z (almost 3 years ago)
- Last Synced: 2024-10-31T23:32:53.560Z (about 2 months ago)
- Topics: django, python, python2, python3, rss, syndication, yandex, yandex-turbo, yandex-turbo-pages
- Language: Python
- Homepage: https://github.com/idlesign/django-yaturbo
- Size: 53.7 KB
- Stars: 16
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
django-yaturbo
==============
https://github.com/idlesign/django-yaturbo|release| |lic| |coverage|
.. |release| image:: https://img.shields.io/pypi/v/django-yaturbo.svg
:target: https://pypi.python.org/pypi/django-yaturbo.. |lic| image:: https://img.shields.io/pypi/l/django-yaturbo.svg
:target: https://pypi.python.org/pypi/django-yaturbo.. |coverage| image:: https://img.shields.io/coveralls/idlesign/django-yaturbo/master.svg
:target: https://coveralls.io/r/idlesign/django-yaturboDescription
-----------*Reusable Django app to enable Yandex Turbo Pages for your site*
This app allows you to define Yandex Turbo pages feeds in term similar to those
of Django Syndication Feed Framework contrib:1. Inherit your feed class from **YandexTurboFeed**:
.. code-block:: python
# feeds.py
from yaturbo import YandexTurboFeedclass TurboFeed(YandexTurboFeed):
"""
More information on Django Syndication Feed Framework configuration:
https://docs.djangoproject.com/en/2.0/ref/contrib/syndication/
"""2. Pass an instantiated (and optionally configured) feed object to `urlpatterns`:
.. code-block:: python
# urls.py
from .feeds import TurboFeedurlpatterns = [
...
path('feeds/turbo/', TurboFeed()),
...
]Read the docs for further information.
Documentation
-------------http://django-yaturbo.readthedocs.org/