Skip to main content

for django in sae

Project description

#django-sae

[![PyPI version](https://badge.fury.io/py/django-sae.png)](http://badge.fury.io/py/django-sae)

用于新浪云平台SAE

### 扩展命令
* compress_site_packages:压缩 site_packages
* sae_migrate:切换到SAE数据库,并进行migrate操作
* sae_schemamigration:切换到SAE数据库,并进行schemamigration操作
* sae_syncdb:切换到SAE数据库,并进行syncdb操作

注:使用sae_migrate,sae_schemamigration,sae_syncdb,需在settings中设置MYSQL_DB,MYSQL_USER,MYSQL_PASS(用于切换到SAE数据库)。

### 缓存
使用 SAE Memcache 服务,在settings中进行如下设置:
```python
CACHES={
'default': {
'BACKEND': 'django_sae.cache.backends.SaePyLibMCCache',
}
}
```


.. :changelog:

Release History
---------------

0.1.13 (2014-03-18)
++++++++++++++++++

- 重命名扩展命令: updatepackages -> compress_site_packages,
- 添加扩展命令:sae_migrate, sae_schemamigration, sae_syncdb

0.1.11 (2014-03-17)
++++++++++++++++++

- commands(扩展命令): updatepackages(更新依赖库并压缩为site-packages.zip)

0.1.1 (2014-03-16)
++++++++++++++++++

- patches: 自动设置
- conf: SAE平台的默认设置

0.1.0 (2014-03-15)
++++++++++++++++++

- db: 通用模型和读写分离
- cache: 缓存模型
- utils: 时间戳模块和装饰模块
- tasks: 用于执行任务

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-sae-0.1.16.zip (29.9 kB view details)

Uploaded Source

File details

Details for the file django-sae-0.1.16.zip.

File metadata

  • Download URL: django-sae-0.1.16.zip
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-sae-0.1.16.zip
Algorithm Hash digest
SHA256 66854ecd042a3d184f20e4a92d3ffd89433e435c9a469a492830cc7cef4f9e98
MD5 ec393d41246532e56e10ba8a6a04e8ba
BLAKE2b-256 bfaed091003175fd11a17d1eb0ee4f6217e74d578e6d28aa3d00a44641525b65

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