Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ransom committed Nov 26, 2011
1 parent a98da93 commit acded1f
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,25 @@ Your installed apps should look something like this:
Finally, add store_locator.urls to your urls.py so that we can make a few
ajax calls needed to interact with the map.

urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^tinymce/', include('tinymce.urls')),
url(r'^store-locator/', include('store_locator.urls')),
url(r'^', include('cms.urls')),
)
::
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^tinymce/', include('tinymce.urls')),
url(r'^store-locator/', include('store_locator.urls')),
url(r'^', include('cms.urls')),
)
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.
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.
plugin on any page in your Django CMS implementation and it will render
a google map, a search field, a search distance drop down, and a search
button. When a user searchs for an address, zip code, city, or any other
location information that Google Maps can translate into an address, the
plugin will show markers on the map for any Store Locations that are
within the distance specified by the user of the address they searched for.

0 comments on commit acded1f

Please sign in to comment.