summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/utils.py2
-rw-r--r--core/views/other.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/utils.py b/core/utils.py
index fa8f57b..b6ec7af 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -76,7 +76,7 @@ except:
def sanitize_name(name):
- """Filenames sould not caontain these characters as then the system barf when it tries to use them in URLs
+ """Filenames sould not contain these characters as then the system barf when it tries to use them in URLs
"""
return name.replace("#","-").replace("?","=").replace("&","+").replace(":","^")
diff --git a/core/views/other.py b/core/views/other.py
index 4019e73..ab2f8a7 100644
--- a/core/views/other.py
+++ b/core/views/other.py
@@ -53,6 +53,7 @@ def todos(request, module):
from troggle.core.views.scans import todo as viewscans
from troggle.core.views.survex import todo as viewsurvex
from troggle.core.views.uploads import todo as viewuploads
+ from troggle.core.views.user_registration import todo as viewregister
from troggle.core.views.wallets_edit import todo as viewwallets_edit
from troggle.core.views.logbook_edit import todo as viewlogbook_edit
from troggle.parsers.caves import todo as parserscaves
@@ -77,6 +78,7 @@ def todos(request, module):
"views/scans": viewscans,
"views/survex": viewsurvex,
"views/uploads": viewuploads,
+ "views/user_registration": viewregister,
"views/wallets_edit": viewwallets_edit,
"views/logbook_edit": viewlogbook_edit,
"parsers/caves": parserscaves,