using django constants for routing, starting to add support for phantomjs