django get static file url code example
Example 1: django url static
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
Example 2: static file link in django
STATIC_URL = '/static/'
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
STATIC_URL = '/static/'