# 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 %}
```
Release files for django-sape 0.2.4
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-sape-0.2.4.tar.gz | 3.5 kB | Details |
Release files / django-sape-0.2.4.tar.gz
| Download URL | django-sape-0.2.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f653938339d94b4a38800734aa75cb04c504c810bec0a253b0e1853a00fbc18
|
|
BLAKE2b-256 checksum How to use checksums |
e2e6506ff1ac1e86c61cdb18def09a6aa62fb21d66f50fedf29ac4936a4b38fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |