質問編集履歴
2
文章の修正
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -2,7 +2,7 @@ | |
| 2 2 | 
             
            環境:
         | 
| 3 3 | 
             
            django=2.2
         | 
| 4 4 | 
             
            pyhton=3.8
         | 
| 5 | 
            -
            mysql=14.14
         | 
| 5 | 
            +
            mysql=14.14 Distrib 5.7.31
         | 
| 6 6 |  | 
| 7 7 | 
             
            ```python
         | 
| 8 8 | 
             
            ●settings.py
         | 
1
文章の修正
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -52,6 +52,7 @@ | |
| 52 52 | 
             
            PetDetail is missing a QuerySet. Define PetDetail.model, PetDetail.queryset, or override PetDetail.get_queryset().
         | 
| 53 53 | 
             
            ```
         | 
| 54 54 | 
             
            とエラーが出ます。
         | 
| 55 | 
            +
            model = Pet だと'db1'を参照してしまうようなのですが、DBを指定する書き方がわかりません。
         | 
| 55 56 |  | 
| 56 57 | 
             
            ### 補足情報(FW/ツールのバージョンなど)
         | 
| 57 58 |  | 
