Metadata-Version: 2.1
Name: league-shop-base
Version: 1.0.70
Summary: A reusable Django app for league shop.
Home-page: https://github.com/sandbox-pokhara/league-shop-base.git
Author: Anchal Gurung
Author-email: anchalghale@gmail.com
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django >=3.1
Requires-Dist: requests-futures
Requires-Dist: cryptography
Requires-Dist: djangorestframework
Requires-Dist: django-advanced-search
Requires-Dist: django-form-action

# 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",
  ...
  }
  ```
