Zenobius
Member since Apr 11, 2013
- Profile: /members/10824-zenobius.htm
- Comments: 2
Recent Blog Comments By Zenobius
-
Mapping AngularJS Routes Onto URL Parameters And Client-Side Events
Posted on Apr 18, 2013 at 2:32 PM
@Ben Oh I never mix my angularjs assets into my Django templates. That wouldn't scale under high load. I only mention urlconfs in Django as an example. Every Django app and project can (and should) define a set of URL routing rules. Essentially regex patterns that point at views. I.e. ur... read more »
-
Mapping AngularJS Routes Onto URL Parameters And Client-Side Events
Posted on Apr 11, 2013 at 8:06 AM
Hi there, Django & Python lover here. I'm wondering if you've discovered a Don't Repeat Yourself approach to resolving url routes in templates? In Django we are able to give our server side routes names and then we can generate the urls in templates and in views by referring to the name instea... read more »