joestump / django-ajax

A simple framework for creating AJAX endpoints in Django.
http://github.com/joestump/django-ajax
BSD 3-Clause "New" or "Revised" License
260 stars 53 forks source link

endpoints.py for external application models (like django User, SouthMigrationHistory, etc.. #44

Open lgfausak opened 11 years ago

lgfausak commented 11 years ago

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 operates on the Django User model (django.contrib.auth.models.User). Is there a way to create endpoints for an application where I don't have the ability to check in an 'endpoints.py' file?

I am able to write customer ad-hoc endpoints.py to get at the same data. I was just hoping I was overlooking a way to get at someone elses application models easily without subclassing them.

-g