A little Django app that uses py-moneyed to add support for Money fields in your models and forms. The default currency code length is 3 but you can change it with the CURRENCY_CODE_MAX_LENGTH setting. Currencies are listed on moneyed, and these modules use this to provide a choice list on the admin, also for validation. Django-money leaves you to use any custom model managers you like for your models, but it needs to wrap some of the methods to allow searching for models with money values. Also, the money_manager wrapper only wraps the standard QuerySet methods. If you define custom QuerySet methods, that do not end up using any of the standard ones (like "get", "filter" and so on), then you also need to manually decorate those custom methods.

Features

  • Django versions supported: 2.2, 3.2, 4.0, 4.1
  • Python versions supported: 3.7, 3.8, 3.9, 3.10
  • PyPy versions supported: PyPy3
  • Automatically installs py-moneyed v1.2 (or later)
  • Use as normal model fields
  • Comply with certain strict accounting or financial regulations

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow django-money

django-money Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build, govern, and optimize agents and models with Gemini Enterprise Agent Platform.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of django-money!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python Frameworks

Registered

2022-09-02