Created
June 7, 2011 21:42
-
-
Save natea/1013244 to your computer and use it in GitHub Desktop.
Valentunes urls.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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