django-ajax
django-ajax copied to clipboard
A simple framework for creating AJAX endpoints in Django.
Django 1.10 has removed support for the SHA1 hasher in the default list of hashers. This PR replaces the password in the users.json test fixture with a newly hashed password....
I have tried faithfully to follow directions getting django-ajax set up, but my attempts to use ModelEndpoints or the simple echo example just produce 403 errors. I had to update...
When I try to update a DateTimeField in an application with the setting `USE_TZ = True` the `ModelEndpoint` fails with the exception `can't compare offset-naive and offset-aware datetimes`. How can...
Hi ! I'm trying to get starting with django-ajax. It looks perfect for what I'd like to do! First problem is that I get 403 forbidden response when I try...
**error response list below** `{"traceback":[{"line":48,"code":"result = f(*args, **kwargs)","file":"E:\\ajax \\decorators.py","in":"json_response"},{"line":69,"code":"separators=(',', ':')))","file":"E:\\ajax\\views.py","in":"endpoint_loader"}, {"line":334,"code":"**kw).encode(obj)","file":"C:\\Program Files\\Python27\\lib\\site- packages\\simplejson\\__init__.py","in":"dumps"}],"data":{"message":"__init__() got an unexpected keyword argument 'namedtuple_as_object'","code":500},"success":false}` **error code:** 500 **error message:** "**init**() got an unexpected keyword argument...
As far as I can tell (please correct me if I'm wrong), the library at present does not support setting a value for ManyToManyFields on models. Ideally, I would like...
I am relatively new to Django, I can't figure out how to do this without writing endpoints.py custom code. I'd like to be able to have an ajax call that...
Is there a way to get encode_data to recognize models pulled in with select_related in the queryset passed to it?
I'm trying to test my Ajax methods by issuing requests from my browser as I write them, and notice using the decorator @csrf_except around my endpoint function doesn't work, because...