Skip to content

Commit 3935d2e

Browse files
authored
Merge pull request #166 from bkmakerspace/decom-move
Add decommission/reinstate functionality
2 parents 9804710 + 3787019 commit 3935d2e

File tree

19 files changed

+189
-121
lines changed

19 files changed

+189
-121
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,6 @@ venv.bak/
114114
.mypy_cache/
115115
.dmypy.json
116116
dmypy.json
117+
118+
# VS Code environment settings
119+
.vscode

borrowing/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

borrowing/apps.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

borrowing/forms.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

borrowing/urls.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

borrowing/views.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

toolhub/settings/base.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
77

8-
SECRET_KEY = "wataboutthechildren"
8+
SECRET_KEY = "<your secret key here>"
99
SITE_ID = 1
1010

1111
INSTALLED_APPS = [
@@ -32,11 +32,10 @@
3232
"memoize",
3333
"tagulous",
3434
# Toolhub
35-
"borrowing.apps.BorrowingConfig",
3635
"toolhub",
3736
"toolhub.contrib.toolhub_flatpages",
38-
"toolhub_auth.apps.ToolhubAuthConfig",
39-
"tools.apps.ToolsConfig",
37+
"toolhub_auth",
38+
"tools",
4039
"utils",
4140
# placed below all so templates can be overwritten
4241
"markdownx",

toolhub/urls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
path("", include("toolhub_auth.urls"), name="auth"),
1515
path("admin/", admin.site.urls),
1616
path("tools/", include("tools.urls"), name="tools"),
17-
path("borrowing/", include("borrowing.urls"), name="borrowing"),
1817
# endpoints
1918
path("markdownx/", include("markdownx.urls")),
2019
# shortcut urls

toolhub_auth/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
default_app_config = "toolhub_auth.apps.ToolhubAuthConfig"

tools/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
default_app_config = "tools.apps.ToolsConfig"

0 commit comments

Comments
 (0)