## installation
`sudo pip-2.7 install -e .` (recommend)
or
`sudo python setup.py install`
## django settings
`settings.py`:
~~~
DEFAULT_FILE_STORAGE = 'imsto_client.django.ImageStorage'
IMSTO_HOST = 'localhost:8964'
IMSTO_ROOF = 'demo'
IMSTO_URL_PREFIX = '/'
IMSTO_THUMB_PATH = '/thumb'
~~~
`admins`
~~~
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 db_field.name == '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/INSTALL.md
Metadata
Release files for imsto_client 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| imsto_client-1.0.4.tar.gz | 5.5 kB | Without provenance | Details for imsto_client-1.0.4.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz | Details for imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz | |||
| imsto_client-1.0.4-py2.7.egg | Legacy Egg format | - | - | Details for imsto_client-1.0.4-py2.7.egg |
Total release size: 29.8 kB
Release files / imsto_client-1.0.4.tar.gz
| Download URL | imsto_client-1.0.4.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78a5e24aac866c04e38688e53b43fab5eab220e50a053e7cb3cd6451889b2c60
|
|
BLAKE2b-256 checksum How to use checksums |
ff818c7cf2b5e66ca06d99627b6eaa274ecee43dfc64bd7daee5ba2ec66b5d88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz
| Download URL | imsto_client-1.0.4.macosx-10.9-x86_64.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5edccccd07f516888078d2dbe74f400bcf88ac52cd27e2dbef044b177541d31
|
|
BLAKE2b-256 checksum How to use checksums |
a4813b39d27ea5c4f0753a5a61ddd75e4d7a78ae0e27c55d7ee61ddd8671b08b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / imsto_client-1.0.4-py2.7.egg
| Download URL | imsto_client-1.0.4-py2.7.egg |
|---|---|
| Size | 13.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9144c3d188baea22c277275ee66f9a456e622a79bfa2ee7a56d9ba9dd565555a
|
|
BLAKE2b-256 checksum How to use checksums |
3766a8f92d8d64db2e8813593809bbeb3b0c6d3917eb53813dff042d98dfe451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for imsto_client 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.