from django.conf.urls.defaults import patterns, include, url
from django.contrib.gis import admin
from django.views.generic.simple import direct_to_template

admin.autodiscover()

urlpatterns = patterns('')

urlpatterns += patterns('',
    url(r'^admin/', include(admin.site.urls)),
)

urlpatterns += patterns('',
	(r'^nearby/$', direct_to_template, {'template': 'leaflet.html'}), 
	(r'^api/', include('api.urls')),
)

from django.conf.urls.defaults import patterns, include, url
from django.contrib.gis import admin
from django.views.generic.simple import direct_to_template

admin.autodiscover()

urlpatterns = patterns('')

urlpatterns += patterns('',
    url(r'^admin/', include(admin.site.urls)),
)

urlpatterns += patterns('',
	(r'^$', direct_to_template, {'template': 'leaflet.html'}), 
	(r'^api/', include('api.urls')),
)

Move code to / from /nearby. Move to tnm.com.
Move code to / from /nearby. Move to tnm.com.
