(update: changed url repository)
When it come to xhr heavy JS code, I hate hard coding in urls. This isn't good practice on the Django side and it is not good practice on the JS side. While I was working in ROR for a spell, I found a plugin on github toretore/javascript_routes that built off of ROR routes system. Upon moving back to Django I wanted the same functionality, so I built a pluggable app at sjzabel/django-jsurls.
Right now it is view designed for development use but I'll have management tool to statically generate it for productions here soon.
No comments:
Post a Comment