#
# Copyright (C) 2007 by Johan De Taeye
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#
# file : $URL: https://frepple.svn.sourceforge.net/svnroot/frepple/tags/0.8.0/contrib/django/freppledb/common/urls.py $
# revision : $LastChangedRevision: 1011 $ $LastChangedBy: jdetaeye $
# date : $LastChangedDate: 2009-08-05 12:59:02 +0200 (Wed, 05 Aug 2009) $
from django.conf.urls.defaults import *
import common.views
urlpatterns = patterns('',
# User preferences
(r'^preferences/$', common.views.preferences),
# Model list reports, which override standard admin screens
(r'^admin/auth/user/$', 'common.report.view_report',
{'report': common.views.UserList,}),
(r'^admin/auth/group/$', 'common.report.view_report',
{'report': common.views.GroupList,}),
(r'^admin/common/dates/$', 'common.report.view_report',
{'report': common.views.DatesList,}),
)
|