Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

and handle status resource too

  • Loading branch information...
commit 4f4b9cca640cb356e6f5d41ba370341491974f84 1 parent 506761a
@andymckay andymckay authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  lib/services/resources.py
  2. +1 −1  solitude/urls.py
View
3  lib/services/resources.py
@@ -4,12 +4,13 @@
from django.core.cache import cache
from django.db import DatabaseError
-from services.services import StatusError, StatusObject as Base
+from tastypie_services.services import StatusError, StatusObject as Base
import logging
log = logging.getLogger('s.services')
+
class StatusObject(Base):
@property
View
2  solitude/urls.py
@@ -40,7 +40,7 @@
services.register(ErrorResource(set_handler=handle_500))
if getattr(settings, 'CLEANSED_SETTINGS_ACCESS', False):
services.register(SettingsResource())
-services.register(StatusResource())
+services.register(StatusResource(set_handler=handle_500))
urlpatterns = patterns('',
url(r'^proxy/', include('lib.proxy.urls')),
Please sign in to comment.
Something went wrong with that request. Please try again.