「Django」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
第10行: | 第10行: | ||
== 指令 == | == 指令 == | ||
先建立專案: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
django-admin startproject myproject | django-admin startproject myproject | ||
</syntaxhighlight> | |||
接下來可以跑測試(空的): | |||
<syntaxhighlight lang="bash"> | |||
./manage.py test | |||
</syntaxhighlight> | </syntaxhighlight> | ||