Permalink
Browse files

update example to using Django REST Framework.

  • Loading branch information...
1 parent 80f945e commit 689ad485d9d7305de6bf68ff24290db040c2b230 @markotibold committed May 8, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 requirements.txt
  2. +1 −1 settings_default.py
  3. +1 −1 urls.py
View
@@ -1,2 +1,3 @@
Django==1.3.1
django-fiber==0.9.6
+mysql-python
View
@@ -120,11 +120,11 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
- 'piston',
'mptt',
'compressor',
'pages',
'fiber',
+ 'djangorestframework'
)
# A sample logging configuration. The only tangible logging
View
@@ -10,7 +10,7 @@
# url(r'^$', 'testproject.views.home', name='home'),
# url(r'^testproject/', include('testproject.foo.urls')),
- (r'^api/v1/', include('fiber.api.urls')),
+ (r'^api/v2/', include('fiber.rest_api.urls')),
(r'^admin/fiber/', include('fiber.admin_urls')),
(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': ('fiber',),}),

0 comments on commit 689ad48

Please sign in to comment.