Statistics
| Branch: | Tag: | Revision:

root / urls.py @ 78dec216

History | View | Annotate | Download (459 Bytes)

1
# vim: ts=4 sts=4 et ai sw=4 fileencoding=utf-8
2
#
3
# Copyright © 2010 Greek Research and Technology Network
4
#
5

    
6
from django.conf.urls.defaults import *
7
from django.contrib import admin
8

    
9
admin.autodiscover()
10

    
11
urlpatterns = patterns('',
12
    (r'^lang/$', 'synnefo.ui.i18n.set_language'),
13
    (r'^auth/api/', include('synnefo.auth.urls')),
14
    (r'^api/', include('synnefo.api.urls')),
15
    (r'^', include('synnefo.ui.urls')),
16
    (r'^admin/(.*)', admin.site.root)
17
)