jorgebastida/django-dajaxice — Issue #43: exception in js_core()
Author: kneufeld
Created: 2011-10-28 01:57:54+00:00
State: open

If kwargs are defined in your urlpatterns, then you get errors in js_core() and dajaxice_request.

Example:
myproject/urls:
...
url(r'^', include('someapp.urls'), {'key':'values'} ),

someapp/urls:
...
url( dajaxice_url, include('dajaxice.urls') ),

FIX:
dajaxice/views.py:
-def dajaxice_request( request, call ):
+def dajaxice_request( request, call, *args, **kwargs ):

-def js_core( request ):
+def js_core( request, *args, **kwargs ):