static files in django api code example
Example 1: staticfiles
STATICFILES_DIRS = [BASE_DIR / 'static']
Example 2: static file link in django
STATIC_URL = '/static/'
STATICFILES_DIRS = [BASE_DIR / 'static']
STATIC_URL = '/static/'