Anonymous committed cfab677

fix an import + views (don't use relative import)

  • Participants
  • Parent commits 3aadf59

Comments (0)

Files changed (2)

File couchdbkit/ext/django/

 from django.db.models import signals, get_app
 from django.core.exceptions import ImproperlyConfigured
 from django.utils.datastructures import SortedDict
-from restkit.httpc import ProxiedHttpClient, BasicAuth
+from restkit.httpc import HttpClient, BasicAuth
         self.__dict__ = self.__shared_state__
         if transport is None:
-            self.transport = ProxiedHttpClient()
+            self.transport = HttpClient()
         # create databases sessions
         for app_name, uri in databases:
             if isinstance(uri, tuple):

File examples/djangoapp/

 urlpatterns = patterns('',
     # Example:
-    (r'^$', 'greeting.views.home'),
+    (r'^$', 'djangoapp.greeting.views.home'),
     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
     # to INSTALLED_APPS to enable admin documentation: