from django.conf.urls import patterns, include, url
from contact.views import contactForm



urlpatterns = patterns('',

	url(r'^contact/$', contactForm),
)


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



urlpatterns = patterns('',
	url(r'^contact/$', contactForm),
)


Update for more generic url pattern and import