전체 글(808)
-
static 파일(스크립트, 이미지 등) 처리
setting.py STATIC_URL = '/static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')] 탬플릿 {% load static %}
2021.01.16 -
최신 버전 가져오기 2021.01.16
-
ID로 객체를 찾아서 값 가져오기, 셋팅하기
document.getElementById('id_form-1-name').value $('#id_form-1-name').val() document.getElementById('id_form-1-name').value = 'ㄴㄴㄴ' $('#id_form-1-name').val('ㄴㄴㄴ')
2021.01.16 -
브라우져에서 콘솔로 로그 출력
console.log('aaa')
2021.01.15 -
focus 객체 확인하기
document.activeElement.id
2021.01.15 -
같은 위치의 다른 파일을 호출 할 경우, '.' 또는 '현재 디렉토리명' 사용 가능
현재 디록토리 : /gantt from . import views from gantt import views
2021.01.15