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 django_google_maps and import_export to INSTALLED_APPS.

  4. Also add vendors after them.

  5. Include vendors.urls in your root urlconf.

  6. Run migrations.

  7. Create Vendors, Subjects, and Types using the admin interface.

  8. Create your own views

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.2.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

mezzanine_vendors-1.2.0-py2.py3-none-any.whl (10.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: mezzanine-vendors-1.2.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 56505ac441d363a4dc93c917f7b33531ff088f81f0036fca707fd9a381052cf9
MD5 3d6273ac39163c810f87ebec37315215
BLAKE2b-256 f8eedb141c0023284259285f1e775692a30afa70ce4770ac7d9f0e3cdd8ba4a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mezzanine_vendors-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.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.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef1f016168247a601139f35c8c97f594d573ea7bfe8f5d331b3e1ae19ff8f8ef
MD5 3e03b4954fc752c08243f694451023e0
BLAKE2b-256 0afac1076b3d581d38ae32ed1453b5a22c57194f400e5be4b59c969c5ad5f696

See more details on using hashes here.

Supported by

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