django-shapes
-------------

Exporting Shapefiles in Urls
============================

Add something like this to your urls.py::
 
  from django.conf.urls.defaults import *
  from shapes import views
 
  from world.models import WorldBorders
  w = WorldBorders.objects.all()
  shp_response = views.ShpResponder(w)
  shp_response.file_name = 'World Borders'
  
  urlpatterns = patterns('',
                       url(r'^export/$',shp_response),
                       )


Uploading Shapefiles in Urls
============================

Add something like this to your urls.py::
 
  from django.conf.urls.defaults import *
  from shapes import views
  
  urlpatterns = patterns('',
                       url(r'^upload/$',views.upload),
                       )