from django.conf.urls.defaults import *

urlpatterns = patterns('profiles.views',
    url(r'^(?P<username>\w+)/$', 'userprofile', name='userprofile'),
    url(r'^', 'skills_test', name='skills-test'),
    url(r'^', 'profile', name='profile'),
)

from django.conf.urls.defaults import *

urlpatterns = patterns('profiles.views',
    url(r'^(?P<username>\w+)/$', 'userprofile', name='userprofile'),
    url(r'^', 'profile', name='profile'),
)

remove dead view from urls