-
Notifications
You must be signed in to change notification settings - Fork 13
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
django migrate error #5
Comments
Hello, |
@delneg change models.py and migrations file ,Thx |
Hello ,My page display "the JSON object must be str, not 'bytes'" ,My python version is python 3.5 |
Hello, i've fixed the initial problem in 200707a |
Could you please provide additional info on the problem with 'str' no 'bytes', which object does it fail to load? |
Everything worked fine but can u guide me how can i use IPN in this project. After the amount is sent the the address i want my database to be updated from pending to completed. How can i use IPN? |
At this time, IPN is not available. It would be great if someone contributed it, though. |
Have got this error when i try to migrate using mysql
django.db.utils.OperationalError: (1426, "Too-big precision 100 specified for 'total'. Maximum is 65.") |
Fill fix that now |
Looks like we've already fixed it but if forgot to roll it on PyPi. |
In respect to that,i have change the max_digits... it doesn't work still. |
This is the whole thing... It was working just fine when i was using sqlite3. I'm working on this project using django version 1.11, python version 3.6 to build an ecommerce site. i got stocked in the cart where products do not show in the cart but there are created in the admin. well this is the two files responsible for my cart... So i thought, if i migrate my database to mysql, that would work. then i had this error.
==my cart model== ===models.py=== m2m_changed.connect(m2m_changed_cart_receiver, sender=Cart.products.through) def pre_save_cart_receiver(sender, instance, *args, **kwargs): pre_save.connect(pre_save_cart_receiver, sender=Cart)` ===view.py=== def cart_update(request): |
Seems like you have subtotal & total with 100 max_digits in cart |
Description
migrate error
django.db.utils.InternalError: (1426, "Too big precision 100 specified for 'amount'. Maximum is 65.")
Please update code。
The text was updated successfully, but these errors were encountered: