Skip to main content

A vendor catalog app for Mezzanine

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mezzanine-vendors-1.1.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mezzanine_vendors-1.1.2-py2.py3-none-any.whl (10.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mezzanine-vendors-1.1.2.tar.gz.

File metadata

  • Download URL: mezzanine-vendors-1.1.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.14

File hashes

Hashes for mezzanine-vendors-1.1.2.tar.gz
Algorithm Hash digest
SHA256 12f2f2a3c722b6dfbca3d2dd1dfcefc6d4cd6363882579f803e4fd17298b5f77
MD5 d43a745fa334c6cff4e6c3884fc022cf
BLAKE2b-256 85bd9f9fc6d6976bcd5577ec455d185aab44c4b6793fe831c38dbe07567b7bdf

See more details on using hashes here.

File details

Details for the file mezzanine_vendors-1.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: mezzanine_vendors-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.14

File hashes

Hashes for mezzanine_vendors-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 83993fc5e94b67ba6b8c10bf8c81b26657078ab690de4db5b9afa6efac74f04c
MD5 a214c42ba6e1ae7acf5f9cc1b31b69de
BLAKE2b-256 299374acdb2972d99c90d91eedaf80e1064cdf46fa31b5f4181d56e93a0fc301

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page