Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.363 kB
from django.contrib import admin
from django.contrib.gis.admin import OSMGeoAdmin
from rideshare import models as db
class GeoAdmin(OSMGeoAdmin):
default_lat = 39.95 # philadelphia
default_lon = -75.16
default_zoom = 2
map_width = 750
map_height = 500
admin.site.register(db.RideRequest, GeoAdmin)
admin.site.register(db.Ride, GeoAdmin)
Jump to Line
Something went wrong with that request. Please try again.