Skip to main content

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 %}
```

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 details)

Uploaded Source

File details

Details for the file django-sape-0.2.4.tar.gz.

File metadata

  • Download URL: django-sape-0.2.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-sape-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0f653938339d94b4a38800734aa75cb04c504c810bec0a253b0e1853a00fbc18
MD5 780afea8b9125ba85d0047c74236ba5f
BLAKE2b-256 e2e6506ff1ac1e86c61cdb18def09a6aa62fb21d66f50fedf29ac4936a4b38fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page