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
Retool your internal operations Icon
Retool your internal operations

Generate secure, production-grade apps that connect to your business data. Not just prototypes, but tools your team can actually deploy.

Build internal software that meets enterprise security standards without waiting on engineering resources. Retool connects to your databases, APIs, and data sources while maintaining the permissions and controls you need. Create custom dashboards, admin tools, and workflows from natural language prompts—all deployed in your cloud with security baked in. Stop duct-taping operations together, start building in Retool.
Build an app in Retool
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