
__author__    = "Individual contributors (see AUTHORS file)"
__date__      = "$DATE$"
__rev__       = "$REV$"
__license__   = "AGPL v.3"
__copyright__ = """
This file is part of ArgCache.
Copyright (c) 2015 by the individual contributors
  (see AUTHORS file)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
"""

from django.conf.urls import url

from .views import view_all, flush

urlpatterns = [
    url(r'^view_all/?$', view_all, name='view_all'),
    url(r'^flush/([0-9]+)/?$', flush, name='flush')
]


__author__    = "Individual contributors (see AUTHORS file)"
__date__      = "$DATE$"
__rev__       = "$REV$"
__license__   = "AGPL v.3"
__copyright__ = """
This file is part of ArgCache.
Copyright (c) 2015 by the individual contributors
  (see AUTHORS file)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
"""

from django.conf.urls import *

urlpatterns = [
    url(r'^view_all/?$', 'argcache.views.view_all', name='view_all'),
    url(r'^flush/([0-9]+)/?$', 'argcache.views.flush', name='flush')
]

--- 
+++ 
@@ -22,9 +22,11 @@
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 """
 
-from django.conf.urls import *
+from django.conf.urls import url
+
+from .views import view_all, flush
 
 urlpatterns = [
-    url(r'^view_all/?$', 'argcache.views.view_all', name='view_all'),
-    url(r'^flush/([0-9]+)/?$', 'argcache.views.flush', name='flush')
+    url(r'^view_all/?$', view_all, name='view_all'),
+    url(r'^flush/([0-9]+)/?$', flush, name='flush')
 ]
Fix urlconf to avoid string view arguments to url()
