shuup.core.management.commands package¶
Submodules¶
shuup.core.management.commands.compute_bought_with_relations module¶
shuup.core.management.commands.makemessages module¶
Patched version of Django’s Makemessages that works with Jinja2.
Works by monkey patching django.utils.translation.trans_real.templatize with our version.
-
class
shuup.core.management.commands.makemessages.
Command
(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Bases:
django.core.management.commands.makemessages.Command
shuup.core.management.commands.shuup_extract_products_shortdescription module¶
Extract products short description from the current description.
shuup.core.management.commands.shuup_fix_order_status_identifiers module¶
shuup.core.management.commands.shuup_init module¶
-
class
shuup.core.management.commands.shuup_init.
Initializer
[source]¶ Bases:
object
-
schemata
= [{'info': {'name': 'Default Shop', 'public_name': 'Default Shop', 'domain': 'localhost', 'status': <ShopStatus.ENABLED: 1>, 'maintenance_mode': False}, 'identifier': 'default', 'model': <class 'shuup.core.models.Shop'>}, {'info': {'name': 'Standard Product'}, 'identifier': 'default', 'model': <class 'shuup.core.models.ProductType'>}, {'info': {'name': 'Digital Product'}, 'identifier': 'digital', 'model': <class 'shuup.core.models.ProductType'>}, {'info': {'name': 'Default Supplier'}, 'identifier': 'default', 'model': <class 'shuup.core.models.Supplier'>}, {'info': {'name': 'Pieces', 'symbol': 'pcs'}, 'identifier': 'pcs', 'model': <class 'shuup.core.models.SalesUnit'>}, {'info': {'name': 'Retail Customers'}, 'identifier': 'default_person_customers', 'model': <class 'shuup.core.models.CustomerTaxGroup'>}, {'info': {'name': 'Company Customers'}, 'identifier': 'default_company_customers', 'model': <class 'shuup.core.models.CustomerTaxGroup'>}, {'info': {'decimal_places': 2}, 'identifier': 'USD', 'model': <class 'shuup.core.models.Currency'>}, {'info': {'decimal_places': 2}, 'identifier': 'EUR', 'model': <class 'shuup.core.models.Currency'>}, {'info': {'decimal_places': 2}, 'identifier': 'BRL', 'model': <class 'shuup.core.models.Currency'>}, {'info': {'decimal_places': 0}, 'identifier': 'JPY', 'model': <class 'shuup.core.models.Currency'>}, {'info': {'decimal_places': 2}, 'identifier': 'CNY', 'model': <class 'shuup.core.models.Currency'>}, {'info': {'decimal_places': 2}, 'identifier': 'GBP', 'model': <class 'shuup.core.models.Currency'>}, {'info': {'decimal_places': 2}, 'identifier': 'CAD', 'model': <class 'shuup.core.models.Currency'>}]¶
-
shuup.core.management.commands.shuup_makemessages module¶
Makemessages helper for Shuup projects.
Runs Django’s makemessages for django and djangojs domains with sane defaults for Shuup projects (ignores and extensions).
-
class
shuup.core.management.commands.shuup_makemessages.
Command
(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Bases:
shuup.core.management.commands.makemessages.Command
-
help
= "\nMakemessages helper for Shuup projects.\n\nRuns Django's makemessages for django and djangojs domains with sane\ndefaults for Shuup projects (ignores and extensions).\n"¶
-
shuup.core.management.commands.shuup_migrate_from_shoop module¶
shuup.core.management.commands.shuup_show_settings module¶
Show known Shuup settings and their values.