{"image_url":null,"blog_title":"","title":"AssertionError: ForeignKey cannot define a relation with abstract class Attribute","description":"\u62bd\u8c61\u30af\u30e9\u30b9\u3092\u5916\u90e8\u30ad\u30fc\u306b\u6307\u5b9a\u3067\u304d\u306a\u3044\u3001\u3069\u3046\u3057\u3088\u3046\u3002 AssertionError: ForeignKey cannot define a relation with abstract class Attribute \u62bd\u8c61\u30af\u30e9\u30b9\uff08\u62bd\u8c61\u30e2\u30c7\u30eb\uff09\u306b\u5bfe\u3057\u3066\u3001CREATE \u3059\u308b SQL \u6587\u304c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002 $ sudo python manage.py sql transmission BEGIN; ... \u795e\u69d8\u306b\u805e\u3044\u3066\u307f\u305f So you've got three choices here: 1) Change Author to a standard model instead of abstra\u2026","url":"https://nihaoshijie.hatenadiary.jp/entry/2014/06/07/123900","author_url":"https://blog.hatena.ne.jp/domodomodomo/","provider_url":"https://hatena.blog","height":"190","blog_url":"https://nihaoshijie.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnihaoshijie.hatenadiary.jp%2Fentry%2F2014%2F06%2F07%2F123900\" title=\"AssertionError: ForeignKey cannot define a relation with abstract class Attribute - \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_name":"Hatena Blog","author_name":"domodomodomo","type":"rich","published":"2014-06-07 12:39:00","categories":["Django"],"version":"1.0"}