본문 바로가기

카테고리 없음

2020-06-14 06시 개발자 글 모음 | "Spring Boot :: JPA를 " 외 8개 이야기

[Django]path vs re_path vs url by 안기웅 about Django

  • """try_django URL Configuration The `urlpatterns` list routes URLs to views
  • Add a URL to urlpatterns: path(''
  • Add a URL to urlpatterns: path(''


[Django]Your First Template by 안기웅 about Django,HTML

  • 지정된 템플릿을 지정된 컨텍스트 사전과 결합하고 해당 렌더링 된 텍스트와 함께 GroupWise/Response개체를 반환
  • shortcuts import render # Model View Template (MVT) def home_page(request): return HttpResponse(request
  • html") def about_page(request): return HttpResponse("

    About Us

    ") def contact_page(request): return HttpResponse("

    Contact Us

    ")


[Django]Loading a HTML Template by 안기웅 about Django,HTML,Python

  • Django는 백엔드에 관계 없이 템플릿을 로드하고 렌더링 하기 위한 표준 API를 정의
  • 로드는 지정된 식별자에 대한 템플릿을 찾아 미리 처리하는 작업으로 구성
  • Django와 함께 사용할 모든 템플릿 엔진에 대한 설정을 포함하는 목록


[Django]Add Bootstrap by 안기웅 about CSS,Django,HTML

  • {{ title }}