This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-5541 DEP: Replace patterns() with list of url() instances
- Loading branch information
1 parent
2e3c8ef
commit 000fe2a
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.4.3 | ||
1.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters