A reusable Django app for league shop.
Project description
League Shop Base
Reusable Django app
Quick start
Add "lsb" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'lsb',
]
To specify top sold skin values parser, add the following settings:
LSB_SETTINGS = {
'top_sold_skin_values': {
'func': <dotted_module_string_path>,
'args': <args>,
'kwargs': <kwargs>
}
}
For example:
LSB_SETTINGS = {
'top_sold_skin_values': {
'func': 'lsb.utils.skins.get_top_sold_skin_values',
'args': [0, 150],
'kwargs': {}
}
}
Changelog (1.0.48)
- Renamed is_bare_metal to is_premium
- Make rank field non nullable
- Added valid account and old stock filter. Needs
old_stock_max_date
in LSB_SETTINGS for old stock filter.LSB_SETTINGS = { ... "old_stock_max_date": "yyyy-mm-dd", ... }
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
league-shop-base-1.0.48.tar.gz
(16.2 kB
view hashes)
Built Distribution
Close
Hashes for league_shop_base-1.0.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3d5eb4af7cf963b4948a9d857e55325283dd6572b52184d32a84532d4b9c43 |
|
MD5 | 71342f8b668d30e1ffadeee43cba4ec2 |
|
BLAKE2b-256 | e86aa8aaecd9c9fe2df3257296b939ec76d8c528e599cb87276b0d7cab1c748f |