From e515d85d0c201925c9a0bc53a14365f4f93822a5 Mon Sep 17 00:00:00 2001 From: Antony Chazapis Date: Wed, 19 Oct 2011 12:57:10 +0300 Subject: [PATCH] Clean admin app. --- pithos/admin/urls.py | 51 -------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 pithos/admin/__init__.py delete mode 100644 pithos/admin/urls.py diff --git a/pithos/admin/__init__.py b/pithos/admin/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pithos/admin/urls.py b/pithos/admin/urls.py deleted file mode 100644 index 9b0386a..0000000 --- a/pithos/admin/urls.py +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2011 GRNET S.A. All rights reserved. -# -# Redistribution and use in source and binary forms, with or -# without modification, are permitted provided that the following -# conditions are met: -# -# 1. Redistributions of source code must retain the above -# copyright notice, this list of conditions and the following -# disclaimer. -# -# 2. Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials -# provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS -# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -# The views and conclusions contained in the software and -# documentation are those of the authors and should not be -# interpreted as representing official policies, either expressed -# or implied, of GRNET S.A. - -from django.conf.urls.defaults import patterns - -from pithos import settings - - -urlpatterns = patterns('pithos.admin.views', - (r'^/?$', 'index'), - - (r'^/users/?$', 'users_list'), - (r'^/users/(\d+)/?$', 'users_info'), - (r'^/users/create$', 'users_create'), - (r'^/users/(\d+)/modify/?$', 'users_modify'), - (r'^/users/(\d+)/delete/?$', 'users_delete'), -) - -urlpatterns += patterns('', - (r'^/static/(?P.*)$', 'django.views.static.serve', { - 'document_root': settings.PROJECT_PATH + '/admin/static'})) -- 1.7.10.4