inspectdb 명령을 실행하는 일부 레거시 오라클 데이터베이스가 있습니다. 지금 모델에서 스키마를 생성하려고 syndb 실행하면syncdb를 사용하여 oracle을 얻는 방법
entity_id = models.DecimalField(unique=True, null=True, max_digits=0, decimal_places=-127, blank=True)
내가 얻을 것이다 오류 다음 DB에 한 열은 제가 장고에서 가져온 것은 및 (정밀도와 스케일없이) 번호를 입력있다 :
Error: One or more models did not validate:
DecimalFields require a "decimal_places" attribute that is a non-negative integer.
DecimalFields require a "max_digits" attribute that is a positive integer.
내 질문은 : 나는 오라클에서 생성 GET 번호에 모델 OIN ENTITY_ID 유형을 수정하는 방법?