Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
3
Help us understand the problem. What is going on with this article?
@on97-nakamatsu-mayumi

Djangoプロジェクトの始め方

初心者です。勉強用

※半角/全角スペースに注意! すべて半角です!
1.英数字とアンダースコア(_)でプロジェクト名を決める
(例: django_website)
2.django-admin startproject django_website
 cd django_website
 これだけ。
3.python manage.py runserver で開発用サーバーの立ち上げ

エラーメッセージがでる

作ったアプリ名のディレクトリの中にある
「settings.py]のファイルの中を

ALLOWED_HOSTS = ["*"]

に書き直す
そーすればサーバーを更新したら

Image from Gyazo

ダンロードOKの画面になる。

3
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
on97-nakamatsu-mayumi
プログラミング初心者

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
3
Help us understand the problem. What is going on with this article?