Skip to main content

imsto-go client in python, include wrapper of django storage

Project description

#imsto-go client in python

## installation

`sudo pip-2.7 install -e .` (recommend)
`sudo python install`

## django settings


DEFAULT_FILE_STORAGE = 'imsto_client.django.ImageStorage'
IMSTO_HOST = 'localhost:8964'
IMSTO_ROOF = 'demo'


from django.contrib import admin
from imsto_client.django.widgets import AdminImageWidget

class GoodsAdmin(admin.ModelAdmin):

def formfield_for_dbfield(self, db_field, **kwargs):
if == 'image_path':
request = kwargs.pop("request", None)
kwargs['widget'] = AdminImageWidget
return db_field.formfield(**kwargs)
return super(GoodsAdmin,self).formfield_for_dbfield(db_field, **kwargs)

"""more other methods""


## nginx configuration

see also: imsto-go/

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for imsto_client, version 1.0.4
Filename, size & hash File type Python version Upload date
imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz (10.5 kB) View hashes Dumb Binary any
imsto_client-1.0.4-py2.7.egg (13.9 kB) View hashes Egg 2.7
imsto_client-1.0.4.tar.gz (5.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page