from django.conf.urls import patterns, include, url

urlpatterns = patterns(
    '',
    url(r'^user-map/', include('user_map.urls', namespace='user_map'))
)

from django.conf.urls import patterns, include, url

urlpatterns = patterns(
    '',
    url(r'^user-map/', include('user_map.urls', namespace='user_map')),
    url(r'^login/$',
        'django.contrib.auth.views.login',
        {'template_name': 'admin/login.html'},
        name='my_login',
    ),
)

Add login url for testing.