Skip to main content

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': {}
    }
}

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.40.tar.gz (15.2 kB view hashes)

Uploaded Source

Built Distribution

league_shop_base-1.0.40-py3-none-any.whl (24.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page