回答編集履歴

2

最初の回答を削除した旨を追記

2016/08/28 04:09

投稿

flied_onion
flied_onion

スコア2604

test CHANGED
@@ -29,3 +29,11 @@
29
29
 
30
30
 
31
31
  それ以外だとdjangoのバージョンをあげる事でしょうか。
32
+
33
+
34
+
35
+ ---
36
+
37
+
38
+
39
+ **最初の回答は質問を読み違えていて、且つ何の参考にもならないので削除しました**

1

回答を全面的に修正

2016/08/28 04:09

投稿

flied_onion
flied_onion

スコア2604

test CHANGED
@@ -1,13 +1,31 @@
1
- 現在起きているエラーに関しては
1
+ migrationがサポトされたのは、django 1.7からなります。
2
2
 
3
3
 
4
4
 
5
+ 1.6まではSouthを使うというのが一般的のようですね。
6
+
5
- > from django.db import migrations, models
7
+ また、 python-social-auth でもそう対応するといいみたいです。
8
+
9
+ 実際に試したわけではないので、うまくいくかわかりませんが、python-social-authでサポートしているようです。
6
10
 
7
11
 
8
12
 
13
+ [Cannot import name migrations - github python-social-auth issues/456](https://github.com/omab/python-social-auth/issues/456)
14
+
9
- from django.db import social_auth, models
15
+ 追加すべき設定も書いてくれているようですね。
10
16
 
11
17
 
12
18
 
19
+
20
+
13
- ないですか
21
+ southのインストールについてこちらですかね。
22
+
23
+
24
+
25
+ [http://south.readthedocs.io/en/latest/installation.html](http://south.readthedocs.io/en/latest/installation.html)
26
+
27
+
28
+
29
+
30
+
31
+ それ以外だとdjangoのバージョンをあげる事でしょうか。