{ "info": { "author": "jerinisready", "author_email": "jerinisready@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "DJANGO OSCAR CATALOGUE\n======================\n\n\n.. image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg\n :target: https://www.python.org/\n.. image:: https://img.shields.io/pypi/djversions/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/pypi/pyversions/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/pypi/wheel/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/librariesio/github/jerinisready/django-oscar-catalogue.svg?label=Dependencies&style=flat\n.. image:: https://img.shields.io/github/license/jerinisready/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/badge/PyPi_Package-django_oscar_catalogue-25ABFF.svg\n.. image:: https://img.shields.io/pypi/status/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/pypi/format/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/github/commit-activity/y/jerinisready/django-oscar-catalogue.svg?style=flat\n.. image:: https://img.shields.io/github/contributors/jerinisready/django-oscar-catalogue.svg?label=Contributors&style=flat\n.. image:: https://img.shields.io/pypi/implementation/django-oscar-catalogue.svg?label=Implementation&style=flat\n.. image:: https://img.shields.io/pypi/v/django-oscar-catalogue.svg?colorB=orange&label=PyPi&style=flat\n.. image:: https://img.shields.io/pypi/l/django-oscar-catalogue.svg?style=flat&label=License\n\nDjango Oscar Catalogue is a small packet of code extracted from Django Oscar,\nto isolate the catalogue module independantly along with its dashboard.\n\nDjango Oscar Handles Products, Categories and its Attributes in one of the best approach,\nwhich favors high amount of customization even from Dashboard. Also, it provides a basic\nDashboard to handle those products and associated things. django-oscar encapsulated all\nthose into a single module named 'oscar.apps.catalogue'.\n\nDue to some Dependency with other modules inside django-oscar, Its module cannot be\nisolated as it is. Django-Oscar-Catalogue filtered out these dependencies, and isolated\nthe module.\n\nThis retains the complete structure and interface with its parent package (Django Oscar),\nso that, at any point of your project; you can simply unplug this module and install\ndjango-oscar with minimum effort.\n\n\n=================================\nREADME - Django-Oscar-Catalogue\n=================================\n\n\nAPI Documentation for catalogue can be referred from official Documentation of django-oscar.\n\n\nPackages.\n`````````\n\nEnsure these Python packages are added in your environment.\n\n1) haystack # Search support\n\n2) treebeard # Treebeard is used for categories\n\n3) sorl_thumbnail # Sorl is used as the default thumbnailer\n\n4) django_tables2 # Used for automatically building larger HTML tables\n\n5) Pillow # PIL is required for image fields, Pillow is the \"friendly\" PIL fork\n\n6) django-widget-tweaks # Used for manipulating form field attributes in templates (eg: add a css class)\n\n\nSETTINGS FOR PACKAGE\n````````````````````\nAlmost All Oscar Settings are added in *'oscar.default.\\*'*\nYou can override them after importing these settings in your settings.py .\n\n``get_core_apps()`` will include the following apps with your INSTALLED_APPS.\n\n.. code-block:: python\n\n OSCAR_CORE_APPS = [\n 'oscar',\n 'oscar.apps.catalogue',\n 'oscar.apps.catalogue.reviews',\n 'oscar.apps.dashboard',\n 'oscar.apps.dashboard.catalogue',\n # 3rd-party apps that oscar depends on\n 'haystack',\n 'treebeard',\n 'sorl.thumbnail',\n 'django_tables2',\n ]\n\nDjango Oscar uses ``django.contrib.flatpages.middleware.FlatpageFallbackMiddleware``\nto handle url fallbacks .\n\nOscar Guides Django to use 'OSCAR_MAIN_TEMPLATE_DIR' to search for oscar templates.\n\nOscar-Catalogue uses 'oscar.template_loaders.OscarLoader' as template loader.\nThis have nothing to do with oscar, and also django oscar do not have a package named template_loaders.\n\nBut when you switch to `django-oscar` package this line can be removed.\n\nCONCEPT :\n\n.. code-block:: python\n\n TEMPLATES[0]['OPTIONS']['context_processors'].append('oscar.core.context_processors.metadata')\n TEMPLATES[0]['OPTIONS']['loaders'].append('django.template.loaders.app_directories.Loader')\n TEMPLATES[0]['OPTIONS']['loaders'].append('oscar.template_loaders.OscarLoader')\n\n\nOscar Guides Django uses 'HAYSTACK_CONNECTIONS' To establish Haystack for search.\n\nIn your \"settings.py\"; append:\n\n.. code-block:: python\n\n from oscar.defaults import *\n from oscar import get_core_apps\n\n INSTALLED_APPS = [\n ...\n ...\n ] + get_core_apps()\n\n SITE_ID = 1\n OSCAR_MAIN_TEMPLATE_DIR = os.path.join(os.path.join(BASE_DIR), 'oscar', 'templates', 'oscar')\n TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [],\n ...\n ...\n 'APP_DIRS': False,\n 'OPTIONS': {\n 'context_processors': [\n ...\n ...\n 'oscar.core.context_processors.metadata',\n ],\n 'loaders':[\n 'django.template.loaders.app_directories.Loader',\n ...\n 'oscar.template_loaders.OscarLoader', # only to be used with oscar_catalogue not with oscar\n ],\n },\n },\n ]\n\n MIDDLEWARE = (\n ...\n 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',\n )\n\n HAYSTACK_CONNECTIONS = {\n 'default': {\n 'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',\n },\n }\n\n\n\nURLS FOR PACKAGE\n`````````````````\nOscar-Catalogue uses these two urls to access catalogue of products and its dashboard.\n\n.. code-block:: python\n\n urls = [\n path('', self.catalogue_app.urls),\n path('dashboard/', self.dashboard_app.urls)\n ]\n\n\nin your ``urls.py``; append:\n\n.. code-block:: python\n\n from...\n from oscar.app import application\n\n urlpatterns = [\n ...\n\n path('oscar/', include( application.urls[:2] )), # NOQA, Depndancy; # only to be used with oscar_catalogue not with oscar\n ...\n ]\n \"\"\"\n Note that \"application.urls[:2]\" will be used with django oscar catalogue and\n \"application.urls\" will be used with django oscar.\n \"\"\"\n\n\n\nWhile Switching to Django Oscar\n```````````````````````````````\n1) In your local, pull a new branch.\n\n2) Keep all your code as it is.\n\n3) pip uninstall django-oscar-catalogue\n\n4) pip install django-oscar >\n\n\nLICENSE\n````````\nDjango - Oscar is released under the permissive New BSD license (see summary).\n\nThe basic copy of this project is forked from https://github.com/django-oscar/django-oscar/ and is liable to follow its license.\n\nfrom LICENSE is added in the \"LICENSE\" file.\n\n\nContributors\n````````````\nWe acknowledge and respect contributions towards django-oscar!\n\n\nContributing\n`````````````\nIf you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way\nto learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive,\nhelpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.\n\ndjango-oscar-contrib turned into a Github repository so you can, you know, contribute to it by making pull requests\nWe Call for contributions to make it efficient, up-to-date with django-oscar, and fixing any issue raised by others.\n\nPull a PR and Contributors List will be managed Soon.\nIf you find any bugs or issues, or anything regarding usage, feel free to use issue page.\nRacing an issue is the greatest way to support us.\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jerinisready/django-oscar-catalogue", "keywords": "Django Oscar Catalogue,Django Oscar Products,Oscar Products Table,", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-oscar-catalogue", "package_url": "https://pypi.org/project/django-oscar-catalogue/", "platform": "linux", "project_url": "https://pypi.org/project/django-oscar-catalogue/", "project_urls": { "Homepage": "https://github.com/jerinisready/django-oscar-catalogue" }, "release_url": "https://pypi.org/project/django-oscar-catalogue/0.0.1/", "requires_dist": [ "django (>=1.11)", "pillow (>=4.0)", "django-haystack (>=2.5)", "django-treebeard (>=4.3)", "sorl-thumbnail (<12.5,>=12.4.1)", "django-tables2 (<2.0,>=1.19)", "django-widget-tweaks (>=1.4)" ], "requires_python": "", "summary": "Django Oscar Catalogue is an extracted module from Django Oscar, to isolate the catalogue module independently along with its dashboard.", "version": "0.0.1" }, "last_serial": 4820645, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "60840022f619af4c2d4110efd3301e68", "sha256": "7cab078bb0fc2b3ef317a849788d2fc7cf7cb4ca5b930e170647dc8d2341eaef" }, "downloads": -1, "filename": "django_oscar_catalogue-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "60840022f619af4c2d4110efd3301e68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2195569, "upload_time": "2019-02-14T14:39:48", "url": "https://files.pythonhosted.org/packages/c5/43/b5363e689b0b7eb232c552d9675439189f6853ed61a607c4ee9cc94e856f/django_oscar_catalogue-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84d4761df08d996c514dd8b6c75ec84a", "sha256": "4578b3fbab43b0df0847485d82a2e9e158908a38271689f8d0647098c7faf7ab" }, "downloads": -1, "filename": "django-oscar-catalogue-0.0.1.tar.gz", "has_sig": false, "md5_digest": "84d4761df08d996c514dd8b6c75ec84a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1933544, "upload_time": "2019-02-14T14:39:51", "url": "https://files.pythonhosted.org/packages/75/af/8952a3ae11a95780b6b0d610ce6f5f2262c4b310e4cf7854e785820d329f/django-oscar-catalogue-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60840022f619af4c2d4110efd3301e68", "sha256": "7cab078bb0fc2b3ef317a849788d2fc7cf7cb4ca5b930e170647dc8d2341eaef" }, "downloads": -1, "filename": "django_oscar_catalogue-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "60840022f619af4c2d4110efd3301e68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2195569, "upload_time": "2019-02-14T14:39:48", "url": "https://files.pythonhosted.org/packages/c5/43/b5363e689b0b7eb232c552d9675439189f6853ed61a607c4ee9cc94e856f/django_oscar_catalogue-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84d4761df08d996c514dd8b6c75ec84a", "sha256": "4578b3fbab43b0df0847485d82a2e9e158908a38271689f8d0647098c7faf7ab" }, "downloads": -1, "filename": "django-oscar-catalogue-0.0.1.tar.gz", "has_sig": false, "md5_digest": "84d4761df08d996c514dd8b6c75ec84a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1933544, "upload_time": "2019-02-14T14:39:51", "url": "https://files.pythonhosted.org/packages/75/af/8952a3ae11a95780b6b0d610ce6f5f2262c4b310e4cf7854e785820d329f/django-oscar-catalogue-0.0.1.tar.gz" } ] }