Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A bunch of fixes and changes, cleaning things up in setup.py and remo…

…ved some boilerplate stuff that didn't need to be there
  • Loading branch information...
commit a98da93fb8d88e296fa798b754170094f70beb33 1 parent 6dc2f7a
Mark Ransom authored
View
4 MANIFEST.in
@@ -1,3 +1,7 @@
include AUTHORS
include LICENSE
include README.rst
+recursive-include store_locator/templates/store_locator *
+recursive-include store_locator/static *
+
+
View
10 README.rst
@@ -33,6 +33,16 @@ Your installed apps should look something like this:
'cms',
'store_locator',
)
+
+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')),
+)
Usage
=============
View
10 setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os
-version = __import__('cms_themes').__version__
+version = __import__('store_locator').__version__
install_requires = [
'setuptools',
@@ -10,12 +10,12 @@
]
setup(
- name = "django-cms-themes",
+ name = "django-cms-storelocator",
version = version,
- url = 'http://github.com/megamark16/django-cms-themes',
+ url = 'http://github.com/megamark16/django-cms-storelocator',
license = 'BSD',
platforms=['OS Independent'],
- description = "Load prepackaged themes (templates and accompanying media) into Django CMS projects through the admin",
+ description = "A store locator extension for Django CMS",
author = "Mark Ransom",
author_email = 'megamark16@gmail.com',
packages=find_packages(),
@@ -33,6 +33,6 @@
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
package_dir={
- 'cms_themes': 'cms_themes',
+ 'store_locator': 'store_locator',
},
)
View
4 store_locator/__init__.py
@@ -1,3 +1,3 @@
-VERSION = (1,0,0)
-__version__ = "1.0.0"
+VERSION = (1,1,0)
+__version__ = "1.1.0"
View
2  store_locator/templates/store_locator/store_locator_map.html
@@ -1,5 +1,3 @@
-<h1>Store Locator</h1>
-
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.