Correction de mega failles
[auf_roa_authentification.git] / serveur / urls.py
CommitLineData
4c929d98 1from django.conf.urls.defaults import *
04413b8f 2from handlers import UserHandler#, MessageHandler, PermissionHandler, GroupHandler
4c929d98
CR
3from piston.resource import Resource
4
5# Uncomment the next two lines to enable the admin:
6from django.contrib import admin
7admin.autodiscover()
8
9users = Resource(handler=UserHandler)
04413b8f
CR
10#messages = Resource(handler=MessageHandler)
11#permissions = Resource(handler=PermissionHandler)
12#groups = Resource(handler=GroupHandler)
4c929d98
CR
13
14urlpatterns = patterns('',
15 # Example:
16 # (r'^auf_roa_authentification/', include('auf_roa_authentification.foo.urls')),
17
18 # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
19 # to INSTALLED_APPS to enable admin documentation:
20 # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
21
22 # Uncomment the next line to enable the admin:
23 # (r'^admin/', include(admin.site.urls)),
24
25 # Auth application
26 url(r'^auth/user/?(?P<id>\d+)?/?$', users),
04413b8f
CR
27# url(r'^auth/message/?(?P<id>\d+)?/?$', messages),
28# url(r'^auth/permission/?(?P<id>\d+)?/?$', permissions),
29# url(r'^auth/group/?(?P<id>\d+)?/?$', groups)
4c929d98 30)