Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
CA-5541 DEP: Replace patterns() with list of url() instances
Browse files Browse the repository at this point in the history
  • Loading branch information
RevolutionTech committed Feb 2, 2017
1 parent 2e3c8ef commit 000fe2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.3
1.5.0
11 changes: 6 additions & 5 deletions onionconfig/admin/admin.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from django.conf.urls import patterns, url
from django.conf.urls import url

from isc_admin.admin_site import AdminApp

from onionconfig.admin.views import view_status


class OnionConfigAdminApp(AdminApp):

def get_urls(self):
urls = patterns(
'',
return [
url(r'^onionconfig/?$', self.admin_view(view_status), name='onionconfig_index'),
)
return urls
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
url='http://github.com/infoscout/onionconfig',
version=version,
install_requires=[
'django>=1.4',
'Django>=1.8',
]
)

0 comments on commit 000fe2a

Please sign in to comment.