source: publico/colab/trunk/colab/urls.py @ 6126

Última Alteração nesse arquivo desde 6126 foi 6126, incluída por seocam, 8 anos atrás

Merge com a ultima versao do bitcket: https://bitbucket.org/seocam/atu-colab/src/4ee3ca57614e

File size: 1.8 KB
Linha 
1from django.conf.urls.defaults import patterns, include, url
2
3# Uncomment the next two lines to enable the admin:
4from django.contrib import admin
5admin.autodiscover()
6
7urlpatterns = patterns('',
8    url(r'^$', 'colab.views.other.home', name='home'),
9
10    url(r'^archives/', include('colab.super_archives.urls')),
11
12    url(r'^api/', include('colab.api.urls')),
13   
14    url(r'^rss/', include('colab.rss.urls')),
15
16    url(r'^user/(?P<username>[\w@+.-]+)/?$',
17        'colab.views.userprofile.by_username', name='user_profile'),
18   
19    url(r'^user/$', 'colab.views.userprofile.by_request_user',
20        name='user_profile_by_request_user'),
21   
22    url(r'^user/hash/(?P<emailhash>[\w]+)$',
23        'colab.views.userprofile.by_emailhash'),
24   
25    url(r'^user/(?P<username>[\w]+)/edit/?$',
26        'colab.views.userprofile.update', name='user_profile_update'),
27       
28    url(r'^search/$', 'colab.views.other.search', name='search'),
29
30    url(r'^account/$', 'colab.views.signup.signup', name='signup'),
31
32    url(r'^account/changepassword/$', 'colab.views.signup.change_password',
33        name='change_password'),
34
35    url(r'^account/resetpassword/$',
36        'colab.views.signup.request_reset_password',
37        name='request_reset_password'),
38       
39    url(r'^account/reset_password/(?P<hash>[\w]{32})/$',
40        'colab.views.signup.reset_password', name='reset_password'),
41
42    url(r'^signup/verify/(?P<hash>[\w]{32})/$',
43        'colab.views.signup.verify_email', name='email_verification'),
44
45    url(r'^account/login/$', 'django.contrib.auth.views.login',
46        {'template_name': 'login.html'}, name='login'),
47
48    url(r'^account/logout/$', 'django.contrib.auth.views.logout',
49        {'next_page': '/'}, name='logout'),
50   
51    # Uncomment the next line to enable the admin:
52    url(r'^colab/admin/', include(admin.site.urls)),
53)
54
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.