Saturday, November 03, 2012

Getting Started with Tastypie — Tastypie 0.9.12-alpha documentation

Getting Started with Tastypie — Tastypie 0.9.12-alpha documentation: "# urls.py
from django.conf.urls.defaults import *
from myapp.api import EntryResource

entry_resource = EntryResource()

urlpatterns = patterns('',
# The normal jazz here...
(r'^blog/', include('myapp.urls')),
(r'^api/', include(entry_resource.urls)),
)"

'via Blog this'