update url import statement for compatibility

"cannot import name patterns" error occurs with existing code using Django 1.5.4.
Please merge this update and update the egg.
See http://stackoverflow.com/questions/8074955/cannot-import-name-patterns for details.