from django.conf.urls.defaults import *

urlpatterns = patterns('matgendb.webui.home.views',
    # regex are retarded and python is stupid
    # thank you for those words of wisdom, Michael
    (r'^$', 'index'),
    (r'^query$', 'query')
)

from django.conf.urls import *

urlpatterns = patterns('matgendb.webui.home.views',
    (r'^$', 'index'),
    (r'^query$', 'query')
)

Remove deprecated call.