A guide on how to install Salesman.
1. Install using pip
pip install django-salesman
Optionally install the Pygments library for a nicer code display in admin.
2. Add to your
INSTALLED_APPS = [ ... 'salesman.core', 'salesman.basket', 'salesman.checkout', 'salesman.orders', 'salesman.admin', 'rest_framework', ]
3. Add neccesary urls in
from django.urls import include, path urlpatterns = [ ... path('api/', include('salesman.urls')), ]
4. Run the migrations and start server
python manage.py migrate python manage.py runserver
Done! Salesman is installed and you can navigate the API by going to
But since no product types are configured there is nothing to be added to the basket yet.