from django.conf.urls.defaults import patterns, include, url from django.contrib.auth.decorators import login_required, permission_required from django.conf import settings from django.contrib import admin from views import UserProfileDetail, UserProfileUpdate # Registration/Login views #urlpatterns = patterns('artminster.core.apps.profile.views.login', # url(r"^signup/$", 'signup', name="account_signup"), # url(r"^signin/$", 'signin', name="signin"), # url(r"^logout/$", 'logout_view', name="logout"), #) urlpatterns = patterns('', url(r'^profile/edit/$', UserProfileUpdate.as_view(), {}, name = "edit_profile"), url(r'^profile/(?P<username>[\w\-\.\_\@\+]+)/$', UserProfileDetail.as_view(), {}, name = "profile"), #url(r'^signup/complete/$', 'register_complete', {}, name = "register_complete"), )
from allauth.account import views from django.conf.urls import patterns, url from views import UserProfileUpdate, UserProfileDetail, AlltoezSignupView urlpatterns = patterns('', url(r"^password/change/$", views.password_change, name="account_change_password"), url(r'^profile/edit/$', UserProfileUpdate.as_view(), {"source":"profile_edit"}, name="edit_profile"), url(r"^profile/(?P<username>[\w-]+)/$", UserProfileDetail.as_view(), name="show_profile"), url(r'^profile/$', UserProfileDetail.as_view(), name="show_profile"), url(r'^signup/$', AlltoezSignupView.as_view(), {}, name="alltoez_account_signup"), url(r'^signup/step-2/$', UserProfileUpdate.as_view(), {"source":"step2"}, name="register_children"), )
from django.conf.urls import patterns, url from users import views from views import UserProfileView, UserProfileUpdate urlpatterns = patterns( '', url(r'^$', views.index, name='index'), #url(r'^(?P<user_id>\d+)/$',views.view_profile, name='view_profile'), url(r'^(?P<pk>\d+)/$', UserProfileView.as_view(), name='userprofile-detail'), #url(r'^profile/$', views.edit_profile , name='userprofile-edit') url(r'^(?P<pk>\d+)/update', UserProfileUpdate.as_view(), name='userprofile-update'), )
from allauth.account import views from django.conf.urls import patterns, url from views import UserProfileUpdate, UserProfileDetail, AlltoezSignupView urlpatterns = patterns( '', url(r"^password/change/$", views.password_change, name="account_change_password"), url(r'^profile/edit/$', UserProfileUpdate.as_view(), {"source": "profile_edit"}, name="edit_profile"), url(r"^profile/(?P<username>[\w-]+)/$", UserProfileDetail.as_view(), name="show_profile"), url(r'^profile/$', UserProfileDetail.as_view(), name="show_profile"), url(r'^signup/$', AlltoezSignupView.as_view(), {}, name="alltoez_account_signup"), url(r'^signup/step-2/$', UserProfileUpdate.as_view(), {"source": "step2"}, name="register_children"), )