Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigIntegerField not working properly in model #671

Open
sig003 opened this issue Jun 19, 2023 · 0 comments
Open

BigIntegerField not working properly in model #671

sig003 opened this issue Jun 19, 2023 · 0 comments

Comments

@sig003
Copy link

sig003 commented Jun 19, 2023

One line description of the issue

I declared a BigIntegerField in a model, but the field actually created by mongodb is an Int32. I want Int64, but it doesn't work. My djongo version is 1.3.6. I want to know if it is a bug or my mistake.

Python script

from djongo import models as djongoModels

class TestModel(models.Model):
   ...
   reservationNumber = djongoModels.BigIntegerField(default=0)
   ...

Traceback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant