Skip to content

exception in js_core() #43

Closed
kneufeld opened this Issue Oct 28, 2011 · 2 comments

2 participants

@kneufeld

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 ):

@jorgebastida
Owner

The upcoming 0.5 version now use static files so all this views doesn't exists now, and also... all this issues should be fixed now.

@jorgebastida
Owner

I've release django-dajaxice 0.5 http://pypi.python.org/pypi/django-dajaxice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.