InstallationΒΆ
Actual package installation is quite simple and can be done via pip. Dependencies should be handled by pip fine [1]:
pip install django-afip
You’ll then need to configure your project to use this app by adding it to your
settings.py
:
INSTALLED_APPS = (
...
'django_afip',
...
)
Make sure to run all migrations after you’ve added the app:
python manage.py migrate afip
It is recommended that you pin versions, at least to major releases, since major releases are not guaranteed to be totally compatibility (clear upgrade notes ARE provided though):
django-afip 3.0 >= , < 4.0
[1] | Receipt PDF generation uses weasyprint, which has some additional dependencies. Consult their documentation for clear and up-to-date details. |