"Django 파이썬 스크립트 실행"의 두 판 사이의 차이

(새 문서: ==개요== ;Django 파이썬 스크립트 실행 {{소스헤더|scripts/myscript1.py}} <source lang='python'> from polls.models import Choice, Question questions = Question.objects....)
 
잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
3번째 줄: 3번째 줄:


{{소스헤더|scripts/myscript1.py}}
{{소스헤더|scripts/myscript1.py}}
<source lang='python'>
<syntaxhighlight lang='python'>
from polls.models import Choice, Question
from polls.models import Choice, Question


questions = Question.objects.all()
questions = Question.objects.all()
print( questions )
print( questions )
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2021년 1월 4일 (월) 22:45 판

1 개요

Django 파이썬 스크립트 실행
scripts/myscript1.py
from polls.models import Choice, Question

questions = Question.objects.all()
print( questions )

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}