Django nova poshta ua api app.
- Install with pip:
pip install django-novaposhta
- Add app to urls.py:
path('novaposhta/', include('novaposhta.urls')),
-
Add
novaposhta
to INSTALLED_APPS -
Add
NOVA_POSHTA_API_KEY
to your settings.py -
Run
python manage.py migrate
To refresh warehouses you should login as staff and visit
/novaposhta/refresh
url.
Old warehouse records will be removed.
App require this packages:
- django-model-search