Made import of patterns and url in urlconf 1.5 compatible.