Project

General

Profile

Download (587 Bytes) Statistics
| Branch: | Tag: | Revision:

root / uauth / urls.py @ e8136392

1
from django.conf import settings
2
from django.conf.urls import patterns, include, url
3
from django.contrib import admin
4

    
5
from .views import homepage, login, organization
6

    
7
urlpatterns = patterns('',
8
    url(r'^admin/', include(admin.site.urls)),
9
    url(r'^$', homepage, name='organization-home'),
10
    url(r'^(?P<organization_slug>[\w-]+)$', organization, name='organization-home'),
11
    url(r'^(?P<organization_slug>[\w-]+)/login', login, name='organization-login'),
12
    url(r'^accounts/mellon/login/$', login, name='mellon_login'),
13
    url(r'^accounts/mellon/', include('mellon.urls')),
14
)
(5-5/8)