差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| python:mezzanine [2017/03/10 15:35] – [プロジェクトの起動] ともやん | python:mezzanine [2019/08/19 07:03] (現在) – ともやん | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Mezzanine ====== | ====== Mezzanine ====== | ||
| + | |||
| ===== インストール ===== | ===== インストール ===== | ||
| < | < | ||
| 行 44: | 行 45: | ||
| </ | </ | ||
| <code python> | <code python> | ||
| + | # -*- encoding: utf-8 -*- | ||
| + | |||
| # Domains for public site | # Domains for public site | ||
| ALLOWED_HOSTS = [' | ALLOWED_HOSTS = [' | ||
| 行 49: | 行 52: | ||
| LANGUAGE_CODE = ' | LANGUAGE_CODE = ' | ||
| TIME_ZONE = ' | TIME_ZONE = ' | ||
| + | |||
| + | SITE_TITLE = ' | ||
| </ | </ | ||
| 行 55: | 行 60: | ||
| $ python manage.py runserver | $ python manage.py runserver | ||
| </ | </ | ||
| - | http:// | + | http:// |
| ===== テンプレートの修正 ===== | ===== テンプレートの修正 ===== | ||
| < | < | ||
| $ python manage.py collecttemplates | $ python manage.py collecttemplates | ||
| </ | </ | ||