You are here: Home / LBN / Up2date / Business / BastionLinux 36 / python3-trytond-web-shortener-7.4.0-1.lbn36.noarch

python3-trytond-web-shortener-7.4.0-1.lbn36.noarch

Package Attributes
RPM  python3-trytond-web-shortener-7.4.0-1.lbn36.noarch.rpm Architecture  noarch Size  42853 Created  2024/11/20 13:36:57 UTC
Package Specification
Summary Tryton module to plug a URL to an action
Group Application/Internet
License ZPL
Home Page https://pypi.org/project/trytond-web-shortener
Description

The web_shortener module allows URLs to be shortened. It counts the number of times the URL is accessed and optionally triggers action. The module defines a route /s/ which will redirect the queries to the URL registered previously with ShortenedURL.get_url. Models that need to be callable from a shortened URL must define the method shortened_url_execute. This class method will be called from the underlying queue with the record and the keywords arguments transmitted when calling get_url.

Shortened URL

Shortened URL: The shortened URL Redirect URL: The URL the request is redirected to Record: The record on which method will be executed Method: The name of the method to call on record Count: The number of times this shortened URL has been triggered

Configuration The web_shortener modules uses the parameter from the section:

[web]:

shortener_base: The base URL without path for shortened URL. The default value is composed with the configuration [web] hostname.

Requires
(python3.10dist(trytond) < 7.5~~ with python3.10dist(trytond) >= 7.4)  
rpmlib(PayloadIsZstd)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(RichDependencies)  
rpmlib(FileDigests)  
python3.10dist(python-sql)  
rpmlib(TildeInVersions)  
Provides
python-trytond-web-shortener
python3-trytond-web-shortener
python3.10-trytond-web-shortener
python3.10dist(trytond-web-shortener)
python3dist(trytond-web-shortener)
Obsoletes
python-trytond-web-shortener

Document Actions