You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the conversion to base units in the database necessary for Pint etc, or could it be made optional?
In some cases I'd like for users to be able to enter data in SI or US units and then have them displayed in update or detail views etc, but using the same units rather than automatic conversion to base.
Thanks
The text was updated successfully, but these errors were encountered:
Its impossible. You would need to store the information which unit was used somewhere. That is not easily possible with the given django model as you would need two database fields that represent one django model field.
Hi @CarliJoy
Is the conversion to base units in the database necessary for Pint etc, or could it be made optional?
In some cases I'd like for users to be able to enter data in SI or US units and then have them displayed in update or detail views etc, but using the same units rather than automatic conversion to base.
Thanks
The text was updated successfully, but these errors were encountered: