📜 ⬆️ ⬇️

Oscar - Shop on Django

image

All those who make websites using the Django framework (and even more so if you often have to do shopping) are familiar with such projects as satchmo, lfs, satchless, django-shop, cartridge, plata and others. Relatively recently, these ranks joined the Oscar .

Oscar was written by David Winterbottom and is maintained by Tangent Labs in London.
All templates - Twitter Bootstrap, has its own admin panel, almost all the views are CBV, search is haystack
At the moment there are only three payment backends .
Demo store is available here (feel sorry for the server).
Documentation can be read on rtfd .
')
If someone wants to try on his computer / server:

mkvirtualenv oscar git clone git://github.com/tangentlabs/django-oscar.git cd django-oscar python setup.py develop 

Or you can install via pip: pip install django-oscar
(But in this case we will not have the demo of the project at hand)

The developers did great work, even took care of the content for the launch of the demo: there are demo products with pictures and so on. Fill in the database data:
 cd sandbox ./manage.py syncdb --noinput --settings=settings_simple ./manage.py migrate --settings=settings_simple ./manage.py oscar_import_catalogue data/books-catalogue.csv --settings=settings_simple ./manage.py oscar_import_catalogue_images data/books-images.tar.gz --settings=settings_simple ./manage.py loaddata countries.json fixtures/pages.json --settings=settings_simple 


Now you can try to run, run and try:
 ./manage.py runserver --settings=settings_simple 


In general, I would like to see interest in this project so that more and more various add-ons, payment backends, etc. start to appear. As for the support of the Russian language, I have already contacted the developers to add a project on transifex.

PS For those who missed, Mezzanine + Cartridge also relatively recently released a fresh version based on Twitter Bootstrap and stepped over version 1.0.

Source: https://habr.com/ru/post/145786/


All Articles