A plethora of fixes to make this more usable on non-mobile devices; should gracefully degrade a bit better now... if it can't get any GPS coordinates, the user can enter an address and bypass that requirement, and we'll do a reverse lookup and get some GPS coordinates based on said address. Users can also now view the checkin history of other people - someone wanna implement friendships/privacy? We have an open source 4Square here. ;D
This commit is contained in:
parent
c17458cc8a
commit
d503e3fe08
11 changed files with 223 additions and 116 deletions
5
urls.py
5
urls.py
|
|
@ -5,7 +5,7 @@ from django.contrib import admin
|
|||
admin.autodiscover()
|
||||
|
||||
urlpatterns = patterns('',
|
||||
(r'^admin/', include(admin.site.urls)),
|
||||
(r'^knux/', include(admin.site.urls)),
|
||||
|
||||
# Viewing and adding tips/locations
|
||||
(r'^locations/add/$', 'drinkkit.redditors.views.add_location'),
|
||||
|
|
@ -16,6 +16,9 @@ urlpatterns = patterns('',
|
|||
(r'^locations/(?P<location_id>[a-zA-Z0-9_.-]+)/checkin/$', 'drinkkit.redditors.views.checkin_location'),
|
||||
(r'^locations/(?P<location_id>[a-zA-Z0-9_.-]+)/$', 'drinkkit.redditors.views.view_location'),
|
||||
|
||||
# Query and see who's getting into what
|
||||
(r'^redditor/(?P<redditor_name>[a-zA-Z0-9_.-]+)/$', 'drinkkit.redditors.views.view_redditor'),
|
||||
|
||||
# Registration
|
||||
(r'^register/$', 'drinkkit.redditors.views.register'),
|
||||
|
||||
|
|
|
|||
Reference in a new issue