From b8899e350326af3e53dfad89747761c1c13a3915 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 14 Sep 2021 11:06:51 +0900 Subject: Learn 以下の文書内のリンクURLを正規化 (#2356) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- .../server-side/django/skeleton_website/index.html | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'files/ja/learn/server-side/django/skeleton_website') diff --git a/files/ja/learn/server-side/django/skeleton_website/index.html b/files/ja/learn/server-side/django/skeleton_website/index.html index 0d76ae46eb..f56181d038 100644 --- a/files/ja/learn/server-side/django/skeleton_website/index.html +++ b/files/ja/learn/server-side/django/skeleton_website/index.html @@ -21,7 +21,7 @@ translation_of: Learn/Server-side/Django/skeleton_website 前提条件: - Django 開発環境の設定Djangoチュートリアルを確認してください。 + Django 開発環境の設定Djangoチュートリアルを確認してください。 目的: @@ -47,7 +47,7 @@ translation_of: Learn/Server-side/Django/skeleton_website
  • url/path マッパーはそれらのアプリケーションを結びつけます。
  • -

    Local Library website のために、ウェブサイトフォルダとプロジェクトフォルダはlocallibrary という名前をつけます。また、1つのアプリケーションはcatalogという名前をつけます。 したがって、最上位のフォルダ構成は以下のようになります。:

    +

    Local Library website のために、ウェブサイトフォルダとプロジェクトフォルダはlocallibrary という名前をつけます。また、1つのアプリケーションはcatalogという名前をつけます。 したがって、最上位のフォルダ構成は以下のようになります。:

    locallibrary/         # Website folder
         manage.py         # Script to run Django tools for this project (created using django-admin)
    @@ -59,7 +59,7 @@ translation_of: Learn/Server-side/Django/skeleton_website
     
     

    プロジェクトの作成

    -

    始めにコマンドプロンプトまたはターミナルを開いて、(先に自分が仮想環境(virtual environment)にいることを確認して下さい)、Djangoアプリを格納したい場所へ移動します(ドキュメントフォルダの中など探しやすい場所にしましょう)。そして、新しいウェブサイトのフォルダ(この場合は locallibraryを作りましょう。そして、cdコマンドでそのフォルダへ移動しましょう。

    +

    始めにコマンドプロンプトまたはターミナルを開いて、(先に自分が仮想環境(virtual environment)にいることを確認して下さい)、Djangoアプリを格納したい場所へ移動します(ドキュメントフォルダの中など探しやすい場所にしましょう)。そして、新しいウェブサイトのフォルダ(この場合は locallibraryを作りましょう。そして、cdコマンドでそのフォルダへ移動しましょう。

    mkdir locallibrary
     cd locallibrary
    @@ -154,7 +154,7 @@ cd locallibrary

    追加した新しい行はアプリケーションの構成オブジェクト(CatalogConfig) を指定しており、それはアプリケーション作成時に/locallibrary/catalog/apps.py によって生成されています。

    -

    メモ: すでにたくさんの他のINSTALLED_APPS (MIDDLEWAREも同様。設定ファイルのさらに下の方にあります)が存在していることに気づいたでしょう。これらは、Django administration site をサポートすること可能にし、その結果、Djangoが使用するたくさんの機能(セッション、認証など)をサポートします。

    +

    メモ: すでにたくさんの他のINSTALLED_APPS (MIDDLEWAREも同様。設定ファイルのさらに下の方にあります)が存在していることに気づいたでしょう。これらは、Django administration site をサポートすること可能にし、その結果、Djangoが使用するたくさんの機能(セッション、認証など)をサポートします。

    データベースの指定

    @@ -366,7 +366,7 @@ python3 manage.py migrate

    You have now created a complete skeleton website project, which you can go on to populate with urls, models, views, and templates.

    -

    Now the skeleton for the Local Library website is complete and running, it's time to start writing the code that makes this website do what it is supposed to do. 

    +

    Now the skeleton for the Local Library website is complete and running, it's time to start writing the code that makes this website do what it is supposed to do. 

    参考文献

    @@ -380,19 +380,19 @@ python3 manage.py migrate

    このモジュール内

    -- cgit v1.2.3-54-g00ecf