from django.conf.urls import patterns, url

urlpatterns = patterns('',
    url(r'^info/$', 'djangoinfo.views.info', name='info'),
)

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    url(r'^info/$', 'djangoinfo.views.info', name='info'),
)

Fix import