1. Dane Springmeyer
  2. django-shapes

Commits

spri...@gmail.com  committed b54d9e3

Updated README typo and fixed for clarity

  • Participants
  • Parent commits 99f9a5e
  • Branches default

Comments (0)

Files changed (1)

File README.txt

View file
 
 Working with Shapefiles in GeoDjango.
 
-To enable this application:
+To enable this application within a larger GeoDjango Project:
 
- - Add `shapes` to your INSTALLED APPS
- - Add `(r'^shapes/', include('shapes.urls')),` to your urlpatterns
- - Until models are implemented add SHP_UPLOAD_DIR = '/some/path' in your setting.py
- - See the shapes/views/urls.py to see usage for the export function
+ - Copy or checkout the `shapes` folder into your project folder.
  
-This application exposes two urls:
-
- /shapes/upload/
-
- /shapes/export/
+ - Add `shapes` to your INSTALLED APPS.
  
+ - Add `(r'^shapes/', include('shapes.urls')),` to your main project's urlpatterns
+  - This will expose two urls: '/shapes/upload/' and '/shapes/export/'.
+  
+ - Add SHP_UPLOAD_DIR = '/some/path' in your setting.py for the upload functionality.
+ 
+ - See shapes/urls.py to for example usage of export function
+  - Instantiate the ShpResponder class, associate an queryset and passed in a view.
+  
 
 Working with mercurial
 ----------------------