Django + sape.ru.
Project description
# 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 %}
```
## Настройка
`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 %}
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-sape-0.2.4.tar.gz
(3.5 kB
view hashes)