본문 바로가기
반응형

분류 전체보기80

[Django] TypeError: Object of type datetime is not JSON serializable ( simple salesforce ) ■[Django] TypeError: Object of type datetime is not JSON serializable ( simple salesforce ) [Django salesforce] TypeError: Object of type datetime is not JSON serializable ( simple salesforce ) [Django simple salesforce] TypeError: Object of type datetime is not JSON serializable ( simple salesforce ) [Django] TypeError: Object of type datetime is not JSON serializable ( simple salesforce ) sale.. 2022. 10. 25.
[Pywebview] webView:runJavaScriptConfirmPanelWithMessage ■ ERROR 구문 PyObjC: Exception during dealloc of proxy: Completion handler passed to -[BrowserDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:] was not called PyObjC: Exception during dealloc of proxy: Completion handler passed to - BrowserDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler: Pywebview(파이웹뷰)에서 생길 수 있는 문제이.. 2022. 9. 20.
[Django] django.core.exceptions.improperlyconfigured 에러 해결 [Django] django.core.exceptions.improperlyconfigured 에러 해결 django.core.exceptions.improperlyconfigured: offline compiled file `css/main.css` is missing and libsass has not been installed. ■ 해결방안 pip install libsass django-compressor django-sass-processor pip install libsass pip install django-compressor pip install django-sass-processor 설치해주면 해결된다. django.core.exceptions.improperlyconfigured: of.. 2022. 8. 18.
[Django] SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async [비동기 async 함수에서 ORM 조회 안되는 경우 ] Django: SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async # 샘플코드 async def sync_function(): query = Models.objects.filter(status='사용').all() return 'success' 해당 비동기 함수에서는 Django: SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async 에러가 발생할 거에요. 조회가 되지 않으면, UPDATE나 DE.. 2022. 7. 26.
반응형