This tutorial assumes you have an existing Django project set up. If you don’t, you can create one with startproject.
- Install Lorikeet, by running
pip install https://gitlab.com/abre/lorikeet.git.
- Add a line that looks like
url(r'^_cart/', include('lorikeet.urls', namespace='lorikeet')),to
urls.py. (You don’t have to use
_cartin your URL—anything will do.)
You’re all set! If you run
python manage.py runserver and visit
http://localhost:8000/_cart/, you should see a JSON blob with a few properties. Now you’re ready to start building your backend!