Closed lsemel closed 13 years ago
Sure, just import it into endpoints.py
from views.py
and it should work. I have no plans to have mappings to functions outside of endpoints.py
. I did this mainly for security reasons to ensure that people don't co-mingle such code unless they're absolutely sure (probably why admin.py
works in a similar manner).
Is there a way to set up functions in other files, such as views.py, as Ajax endpoints? I