{"id":13557539,"url":"https://github.com/labd/django-oscar-wagtail","last_synced_at":"2025-07-31T06:05:52.814Z","repository":{"id":44726414,"uuid":"64672721","full_name":"labd/django-oscar-wagtail","owner":"labd","description":"Wagtail integration for Oscar Commerce (or Oscar Commerce integration for Wagtail?)","archived":false,"fork":false,"pushed_at":"2022-01-28T13:51:43.000Z","size":58,"stargazers_count":105,"open_issues_count":8,"forks_count":34,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-28T22:51:10.333Z","etag":null,"topics":["django","django-oscar","e-commerce","wagtail"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/labd.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-01T14:14:58.000Z","updated_at":"2025-03-11T05:40:03.000Z","dependencies_parsed_at":"2022-09-11T20:12:04.619Z","dependency_job_id":null,"html_url":"https://github.com/labd/django-oscar-wagtail","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fdjango-oscar-wagtail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fdjango-oscar-wagtail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fdjango-oscar-wagtail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fdjango-oscar-wagtail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labd","download_url":"https://codeload.github.com/labd/django-oscar-wagtail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249097890,"owners_count":21212371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-oscar","e-commerce","wagtail"],"created_at":"2024-08-01T12:04:24.572Z","updated_at":"2025-04-15T15:31:13.357Z","avatar_url":"https://github.com/labd.png","language":"Python","funding_links":[],"categories":["Python","django"],"sub_categories":[],"readme":"Django Oscar Wagtail\n====================\n\n.. image:: https://travis-ci.org/LabD/django-oscar-wagtail.svg?branch=travis\n    :target: https://travis-ci.org/LabD/django-oscar-wagtail\n\n.. image:: http://codecov.io/github/LabD/django-oscar-wagtail/coverage.svg?branch=master\n    :target: http://codecov.io/github/LabD/django-oscar-wagtail?branch=master\n\n.. image:: https://readthedocs.org/projects/django-oscar-wagtail/badge/?version=latest\n    :target: https://django-oscar-wagtail.readthedocs.io/en/latest/introduction.html\n\n.. image:: https://img.shields.io/pypi/v/django-oscar-wagtail.svg\n    :target: https://pypi.python.org/pypi/django-oscar-wagtail/\n\n\nThis project integrates the Wagtail CMS with Django Oscar for eCommerce. It\nadds the following features:\n\n- each Oscar category page can now be managed by the Wagtail CMS\n- it is possible to add product lists to wagtail pages\n\n\n\nInstallation\n------------\n\nPresuming you have installed Django-Oscar and Wagtail into your Django project.\n\nFirst install django-oscar-wagtail via PIP:\n\n.. code-block:: bash\n\n    pip install django-oscar-wagtail\n\nAnd add ``oscar_wagtail`` to your settings as follows:\n\n.. code-block:: python\n\n    INSTALLED_APPS = [\n        # ... your other apps\n        'oscar_wagtail',\n    ]\n\nAdd the URLs to ``urls.py``:\n\n.. code-block:: python\n\n    import oscar_wagtail.urls\n\n    urlpatterns += [\n        url(r'^api/oscar_wagtail/', include(oscar_wagtail.urls)),\n    ]\n\nFork the catalogue app as described in the `oscar documentation`_. Then instead of\nusing the AbstractCategory from Oscar use the one from this project as follows:\n\n.. code-block:: python\n\n    from oscar_wagtail.abstract_models import AbstractCategory\n\n\n    class Category(AbstractCategory):\n        pass\n\n    from oscar.apps.catalogue.models import *\n\n\nIf you want to have a CMS button in the Oscar dashboard, add the following to your settings:\n\n.. code-block:: python\n\n    OSCAR_DASHBOARD_NAVIGATION.insert(1, {\n        'label': 'CMS',\n        'icon': 'icon-th-list',\n        'url_name': 'wagtailadmin_home',\n        'access_fn': lambda user, *args: user.has_perm('wagtailadmin.access_admin')\n    })\n\n.. _oscar documentation: http://django-oscar.readthedocs.io/en/latest/topics/fork_app.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabd%2Fdjango-oscar-wagtail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabd%2Fdjango-oscar-wagtail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabd%2Fdjango-oscar-wagtail/lists"}