事前確認事項 †Southとは: intelligent schema and data migrations for Django projects 設定箇所 †MacPort?をインストールするには、ちとAirが問題ありだったので、Homebrewにしてみた http://mxcl.github.com/homebrew/ 確認方法 †勉強 †django.contrib.sites
ContextProcessor?
エラー時には †_mysql_exceptions.OperationalError?: (1025, "Error on rename of './blog/#sql-12f_7' to './blog/mymemories' (errno: 150)") †$ python manage.py schemamigration mymemories --settings=aya --auto $ python manage.py migrate mymemories --settings=aya 上記コマンドを打って出たエラー MySQLにコマンドで入ってIndexから消すのがよさげ need more than 1 value to unpack †なんか分からないけど、こういうのが出たときはテンプレートの設定がうまくいってないみたいなので、settings.pyとかloadしているテンプレートのパスを確認する nothing to repeat †urlpatternの正規表現が間違っているので、re.compilerが通せない。ナノで、正規表現を確認する bound method †
上記エラーが出る場合は
AttributeError?: 'unicode' object has no attribute '_meta' †django.db.models.fields.FieldDoesNotExist?: Test has no field named u'\u30ab\u30fc\u30c9' †class TestItem(models.Model): テストセット class Meta: 参考URL † |