view apps/profile/urls.py @ 130:5ab229c9d348

Add back ability to edit account settings * Account/profile editing is now done with a ModelForm, instead of processing the data manually. Help text and verbose names have been moved to the Profile model and to the UserForm (in the latter case, it's because we can't edit the User model directly). * The profile page now shows pygments style information and sections of the profile that are not filled are now hidden. * Some parts of apps/profiles/views.py have been rewritten (the getprofile() method has been removed, as it's no longer necessary, and the editprofile() view was rewritten in accordance with the switch to using ModelForms). * The styling for forms has been modified slightly.
author dellsystem <ilostwaldo@gmail.com>
date Sat, 22 Sep 2012 11:18:23 -0400
parents d416b8198889
children c7be7def8b57
line wrap: on
line source

from django.conf.urls.defaults import *

urlpatterns = patterns('agora.apps.profile.views',
    url(r'^editprofile$', 'editprofile', name='edit_profile'),
    url(r'^(?P<username>\w*)/$', 'showprofile', name='show_profile'),
)