Faq

Introduction #

This section covers common questions when embedding SmartChart as a Django App, including static resource collection and Debug mode configuration.

Common Issues #

Problem Solution
Resources not found after disabling Debug Configure STATIC_ROOT and run collectstatic

FAQ #


If you need to do frontend secondary development or can’t find resources after disabling debug mode, add to settings:

STATIC_ROOT = os.path.join(BASE_DIR, "static")

Run the following command to collect static files to the root directory:

python3 manage.py collectstatic