""" User Management URLS
"""
from django.conf.urls.defaults import patterns, url
from django.conf import settings
from models import UserProfile
from views import *

urlpatterns = patterns('',
    (r'^$',      view_profile, {'title': 'User Profile'}),
    (r'^new/?$', new_user_and_profile),
    (r'^edit/?$', edit_profile),
    (r'^password/?$', password_change),
    url(r'^activate/(?P<code>.{40,40})/?$', activate_account,
        name='profile-activate'),
    (r'^reset_password/?$', reset_password),
    (r'^(?P<pubid>[a-fA-F0-9]{2,10})/$', public_profile),
)
