Metadata-Version: 2.0
Name: mezzanine-vendors
Version: 1.1.1
Summary: A vendor catalog app for Mezzanine
Home-page: https://github.com/unplugstudio/mezzanine-vendors
Author: Ed Rivas
Author-email: ed@unplug.studio
License: MIT
Description-Content-Type: UNKNOWN
Keywords: django mezzanine
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: django (>=1.11)
Requires-Dist: django-import-export (>=1.2)
Requires-Dist: django-google-maps (>=0.10)
Requires-Dist: mezzanine (>=4.3)
Requires-Dist: mezzy (>=2.2)

Mezzanine Vendors
=================

A Django / Mezzanine application to manage a vendor catalog. Features:

- CSV imports
- Uses the Google Maps API to determine coordinates from human-readable addresses
- Categorize vendors by service type and subject

Install
-------

1. Add your Google Maps API Key in your ``settings.py`` as ``GOOGLE_MAPS_API_KEY``
2. Install via pip: ``pip install mezzanine-vendors``.
3. Add ``vendors`` to your ``INSTALLED_APPS``.
4. Include ``vendors.urls`` in your root urlconf.
5. Run migrations.
6. Add Vendors using the admin interface.

**Note: This package provides the models, admin, and a JSON endpoint that returns the vendors. You'll need to create your own frontend to display them.**

Management Command
------------------

Run ``python manage.py add_vendor_locations`` to add coordinates to vendors that are missing them (for example, vendors added via admin import). This uses Google's GeoCoder API and will fail if the address cannot be parsed. It will also count towards the usage limit of your Google Maps API key.

Contributing
------------

Review contribution guidelines at CONTRIBUTING.md_.

.. _CONTRIBUTING.md: CONTRIBUTING.md


