취미생활

취미생활

  • 분류 전체보기 (1013) N
    • Web Server (28)
      • Apache (5)
      • nginx (23)
    • k8s (102) N
      • EFK (80)
      • Kafka (20)
    • 마인크래프트 (25)
    • Docker (18)
    • 파이썬 (161)
      • Django (108)
      • OCR (14)
      • FastAPI (9)
    • Centos (11)
    • Windows (7)
    • Data (28)
      • PostgreSQL (14)
      • Oracle (8)
    • Java (44) N
      • Spring Boot (70)
      • Spring Boot Security (22)
      • mybatis (16)
      • Tomcat (3)
      • Azure 클라우드 (0)
      • 마인크래프트 (0)
      • Thymeleaf (0)
    • Javascript (216)
      • jQuery (9)
      • Sencha (164)
    • HTML (6)
      • Style Sheet (2)
    • 형상관리 (1)
    • 클라우드 (17)
      • Azure (3)
      • Azure DevOps (9)
      • Google Colaboratory (1)
      • Google API (3)
    • 채굴 & NFT (3)
    • Android (0)
    • Git (7)
    • Network (17)
    • OS (62)
    • tasker (1)
    • 보안 (4)
    • BeagleBone Black (2)
    • 브라우져 (1)
    • 수학 (13)
      • 도형 (10)
      • 명제 (1)
      • 집합 (2)
    • 영어 (5)
    • 배치 (2)
    • 모바일 (1)
    • AI (0)
    • Editor (2)
      • vscode (2)
    • 정규식 (1)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

취미생활

컨텐츠 검색

태그

spring boot security Chart django Elasticsearch Java Grid spring boot fluentd K8S nginx Kibana ubuntu admin JavaScript mybatis minecraft minikube metricbeat PostgreSQL sencha

최근글

댓글

공지사항

아카이브

reverse(4)

  • Django admin reverse

    Reversing admin URLs in Django | en.proft.me Reversing admin URLs in Django | en.proft.me Short note about reversing admin URLs in Django. en.proft.me

    2021.03.03
  • Django Admin TabularInline에 링크 추가

    class TestedBoxInline(admin.TabularInline) : model = Tested_Data_Box extra = 0 fields = ['id','getBoxLink','char','coords_1','coords_2','coords_3','coords_4','page'] readonly_fields = ['getBoxLink','char','coords_1','coords_2','coords_3','coords_4','page'] def getBoxLink(self, obj) : return format_html("%s" %(reverse('admin:%s_trained_box_change' %obj._meta.app_label,args=(obj.box_id,)), obj.box..

    2021.03.03
  • Django Admin change_form.html에 버튼 추가 및 저장시 custom 작업 수행

    {% block submit_buttons_bottom %} {{ block.super }} {% endblock %} def response_change(self, request, obj): if "_gotoTrainedBoxes" in request.POST or "_gotoTrainedBoxes(include Image)" in request.POST : if "_gotoTrainedBoxes(include Image)" in request.POST : Trained_Image.createImageData(obj) opts = self.model._meta msg = format_html('The Trained_Image “{}” was changed successfully.', obj.id) se..

    2021.02.12
  • list 순서 뒤집기

    list = [ 1, 7, 5] list.reverse() print(list) [5, 7, 1] temp = list(reversed(list)) print(temp) [1, 7, 5] print(list) [5, 7, 1]

    2020.12.27
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바