Skip to content

fedosov/sape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-sape

Настройка

settings.py

INSTALLED_APPS = \
(
    ...
    'sape',
    ... 
)
SAPE_DOMAIN = 'example.com'
SAPE_USER = 'sape_username'
SAPE_CHARSET = 'utf8'
SAPE_DIR = '/tmp/sape_cache/'

Запрос ссылок (обновление кеша)

./manage.py sape fetch

В шаблоне

{% load sape_extras %}
...
{% sape_links request %}

About

sape.ru integration for Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages