Skip to content

Instantly share code, notes, and snippets.

@natea
Created June 7, 2011 21:42
Show Gist options
  • Save natea/1013244 to your computer and use it in GitHub Desktop.
Save natea/1013244 to your computer and use it in GitHub Desktop.
Valentunes urls.py
from vt.valentunes.api import CardResource, TrackResource
card_resource = CardResource()
track_resource = TrackResource()
urlpatterns = patterns('',
...
(r'^api/', include(card_resource.urls)),
(r'^api/', include(track_resource.urls)),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment