본문 바로가기

TIL

TIL 062723

https://lee-seul.github.io/django/2019/02/21/django-extend-manytomanyfield.html

 

Django ManyToManyField 확장하기

...

lee-seul.github.io

루트스팟!


https://stackoverflow.com/questions/52342481/valueerror-at-profile-the-image-attribute-has-no-file-associated-with-it

 

ValueError at /profile/:The 'image' attribute has no file associated with it

When a user registers for my app.I receive this error when he reaches the profile page 'ValueError at /profile/:The 'image' attribute has no file associated with it.' This is my profile model:

stackoverflow.com

전에는 obj.user.image로 분명 됐는데 이번엔 안된다.

검색해보니 .url을 붙여서 해결할 수 있다.


https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=must_alive&logNo=70030765677 

 

[스크립트]onclick 이벤트에 여러개의 함수 걸기

onclick="hello(); hi(); wow();" 처럼 세미콜론으로 구분해서 함수를 여러개 연결 시킬 수 있다  &nb...

blog.naver.com

팔로우 버튼을 누르면 팔로우하는 함수와 팔로우 버튼을 언팔로우 버튼으로 바꿔주는 함수 두개를 걸었다.


https://velog.io/@eora21/Github-fork-%EB%81%8A%EA%B8%B4-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EB%8B%A4%EC%8B%9C-%EC%97%B0%EA%B2%B0%ED%95%98%EA%B8%B0

 

Github fork 끊긴 프로젝트 다시 연결하기

upstream 프로젝트의 visibility를 private에서 public으로 변경했더니 fork했던 프로젝트의 연결이 끊기는 경우가 생겼다.

velog.io

https://velog.io/@ckvelog/Github-fork-%EB%81%8A%EC%96%B4%EC%A7%84-%EC%A0%80%EC%9E%A5%EC%86%8C-%EB%8B%A4%EC%8B%9C-%EC%97%B0%EA%B2%B0%ED%95%98%EA%B8%B0

 

Github fork 끊어진 저장소 다시 연결하기

팀 프로젝트를 진행한 후, upstream 원본 저장소의 visibility 가시성을 변경해야하는 일이 있었다.원본 저장소의 가시성을 변경하니, 포크한 저장소들은 독립적인 저장소로 변경되는 것이였다. 어떻

velog.io

upstream의 visibility가 private에서 public으로 변경된 후 detatched.

git support에 티켓을 보내서 약 6~7시간 후 re-attached.


일단 티켓을 보낸 후 미국 시간을 확인했는데 시간이 얼마나 걸릴지 몰라서 다시 포크했다.

env 파일이 없어서 오류 발생. 이전 폴더에서 복사해서 해결.

dotenv를 설치하라는 에러 발생. pip install dotenv 실패. 에러 메시지를 검색하다가 pip install python-dotenv 후 makemigrations, migrate에서 다른 에러 발생.

pip install django-dotenv로 해결.

pip를 업그레이드하거나 settings.py에서 read와 load를 바꾸는 방법이 있었지만 그 전에 django-dotenv를 찾았다.

https://journeytosth.tistory.com/4

 

[Python] pyinstaller 설치 에러 해결

에러 내용 pip install pyinstaller을 이용해 pyinstaller를 설치하려고 했으나 다음과 같은 에러가 발생했다. Collecting pyinstaller Using cached PyInstaller-3.6.tar.gz (3.5 MB) Installing build dependencies ... done Getting requirem

journeytosth.tistory.com

https://stackoverflow.com/questions/75660152/installing-scipy-and-scikit-learn-pip-subprocess-to-install-build-dependencies

 

Installing scipy and scikit-learn: "pip subprocess to install build dependencies did not run" "This is a Meson bug and should be

Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [93 lines of outp...

stackoverflow.com

https://britny-no.tistory.com/176

 

[Python] pip3 install dotenv error

pip3 install python-dotenv dotenv가 아닌 python-dotenv를 설치하면 됩니다

britny-no.tistory.com


https://ccusean.tistory.com/entry/JavaScript-%EB%B0%B0%EC%97%B4-%EB%8B%A4%EB%A3%A8%EA%B8%B0%EC%B6%94%EA%B0%80-%EC%82%AD%EC%A0%9C-%EC%B0%BE%EA%B8%B0-%EB%B3%80%ED%98%95

 

JavaScript 배열 다루기(추가, 삭제, 찾기, 변형)

자바스크립트에서 배열을 다룰 때 자주 사용하고 유용한 방법을 소개합니다. 추가/삭제 push, pop: 배열의 제일 뒤에 추가/삭제 let myArray = [1, 2, 3] // 배열 제일 뒤에 요소 추가 myArray.push(4) console.log(

ccusean.tistory.com

filter:거르기!


팔로우 버튼을 클릭하면 언팔로우 버튼으로 바뀌게 할 때 자꾸 hover상태가 된다.

.click()으로 화면 아무곳이나 한번 클릭하게 해서 해결해보려고 했지만 실패.

 

 

'TIL' 카테고리의 다른 글

TIL 062923  (0) 2023.06.30
TIL 062823  (0) 2023.06.29
TIL 062623  (0) 2023.06.26
TIL 062323  (0) 2023.06.23
TIL 062223  (0) 2023.06.23