import url, patterns from the right place
first take at removing support for obsolete fields (which used to be created by the Django model extension)