It's simpler and easier to input values as a Python tuple instead of a NumericRange
.
Book.objects.create(name='Pro Git', ratings_range=(5, 5))
Alternative method with NumericRange
:
Book.objects.create(name='Pro Git', ratings_range=NumericRange(5, 5))