Django

urlの扱いが判らない

mod_wsgi + Django を試している。Apache configで WSGIScriptAlias /test /path/to/app.wsgi として、app.wsgiでは、 application = django.core.handlers.wsgi.WSGIHandler() としている。この設定だと、environment['SCRIPT_PATH']が/testに、environment…

ちょっとした問題

Djangoをインストールした環境で >>> help() help> modules Please wait a moment while I gather a list of all available modules... Traceback (most recent call last): File "<stdin>", line 1, in <module> ...snip... File "C:\Python25\Lib\site-packages\django\co</module></stdin>…

Djangoでの/media/の扱い

昨日の日記にトラックバックで解説していただきました。 http://www.everes.net/2007/apr/06/django-admin-media/

このブログに乗せているコードは引用を除き CC0 1.0 で提供します。