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.49)
- Renamed is_bare_metal to is_premium in admin
- 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.64.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for league_shop_base-1.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c01c1d73a382ce9384cfa5fd7a9102e7947379282e31c5f471b75006da01caa |
|
MD5 | 532f8ed8f4d854571d2322f2fd715d68 |
|
BLAKE2b-256 | c6409d25190e399c8a66f5bb8986e3c4aca1de19bb1956bc01fecbb0e775ffa2 |