Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 550 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 550 Bytes

MP-Novaposhta

Django nova poshta ua api app.

Installation

  1. Install with pip:
pip install django-novaposhta
  1. Add app to urls.py:
path('novaposhta/', include('novaposhta.urls')),
  1. Add novaposhta to INSTALLED_APPS

  2. Add NOVA_POSHTA_API_KEY to your settings.py

  3. Run python manage.py migrate

Refresh warehouses

To refresh warehouses you should login as staff and visit /novaposhta/refresh url. Old warehouse records will be removed.

Requirements

App require this packages:

  • django-model-search