2015-02-01から1ヶ月間の記事一覧
Djangoで多言語に対応する方法 出来ないよこれ。 Django translation in URLs and locale switching これもよくわからない
https://devcenter.heroku.com/articles/getting-started-with-django ここを見ておくのがいい。 requirements見るのがいい。 pipで入れるものを記載しておくべき。 間違って pip install Django==Django-1.7 と書くのではなく、 Django==Django-1.7 でいい…
git push heroku masterするときに ! Push rejected, no Cedar-supported app detected が出る。 原因は、Herokuに必須ファイルと思われるrequirements.txtがないから。 heroku requirements.txt ここを見た。 rm -rf .gitとかはgitが消えるので意味ない。と…
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing …