Skip to content

Commit 7282f27

Browse files
committed
Leave away api/ in uris (since everything belong to api)
1 parent 87983fb commit 7282f27

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

urls.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@
2020
v1_api.register(GamePlayerRelationResource())
2121
v1_api.register(TeamPlayerRelationResource())
2222

23-
urlpatterns = patterns('handball.views',
24-
(r'^$', 'index')
25-
)
26-
27-
urlpatterns += patterns('', (r'^api/', include(v1_api.urls)))
23+
urlpatterns = patterns('', (r'^api/', include(v1_api.urls)))
2824

2925
# Non-resource api endpoints
3026
urlpatterns += patterns('handball.api',

0 commit comments

Comments
 (0)