Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A store locator extension for Django CMS
Python JavaScript Shell
Tree: c2c969d58e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
store_locator
.gitignore
AUTHORS
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

django-cms-storelocator

An extension for Django CMS that lets you enter your store locations and drop a plugin on any page that generates a map and store list based on city/state or zip code search input, or a city drop down for each city with a location in it.

Dependancies

  • django (tested with 1.3)
  • django-cms (tested with 2.2)

Getting Started

To get started simply install using pip:

pip install django-cms-storelocator

Add store_locator to your installed apps and syncdb (or migrate, if you have south installed).

Your installed apps should look something like this:

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.admin',
    'cms',
    'store_locator',
)

Usage

You can add store locations through the admin, the app will try to find a lat/long via google maps api if you do not enter them.

Once you have your locations entered you can simply drop a Store Locator plugin on any page in your Django CMS implementation and magic will happen.

Something went wrong with that request. Please try again.