Image content type for Kotti2 (Python 3.12 + SQLAlchemy 2.0)
Project description
This is an extension to Kotti2 that allows you to add images to your site.
This package is only compatible with Kotti2 version 3.0.0 and later.
Setup
To enable the extension in your Kotti2 site:
pip install kotti2_image
Then activate the configurator in your INI file:
kotti.configurators =
kotti_image.kotti_configure
Configuration
The initial release doesn’t provide any configuration options. Custom configuration of image scales will be available in future releases.
Upgrading
If you are upgrading from a previous version you might have to migrate your database. The migration is performed with alembic and Kotti’s console script kotti-migrate. To migrate, run kotti-migrate <your.ini> upgrade --scripts=kotti_image:alembic (or kotti-migrate <your.ini> upgrade_all to run all Kotti and add on migrations).
For integration of alembic in your environment please refer to the alembic documentation.
Development
Contributions to kotti2_image are highly welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kotti2_image-3.0.1.tar.gz.
File metadata
- Download URL: kotti2_image-3.0.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e8557d9d71e9bf6292c06bc20113b172baf13b4761e97047055f7c79bc998f4
|
|
| MD5 |
ff8470a06eea520d4401f5d99f22b649
|
|
| BLAKE2b-256 |
2688fa747bcd4e7685ab66123738ac53b1338513555e4c08bef0f6759c5de297
|
File details
Details for the file kotti2_image-3.0.1-py3-none-any.whl.
File metadata
- Download URL: kotti2_image-3.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bb2664d670273ef069622d20252cfb16346e01a36d9e387b9617e468f6b01a0
|
|
| MD5 |
57c0e19a7f92d5e3184d01b65bfd8b5e
|
|
| BLAKE2b-256 |
c07eb069b488fb029be2d5b4c27dad2352ee10a0d3d9766b73eb9311570ffede
|