diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-06 08:35:08 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-06 08:35:08 +0100 |
commit | b0073caf5fadcf0d7c881774e0ca6c2087db6b73 (patch) | |
tree | 3dec9a8ad3e20447f740197310335594bdfbdeb3 /core | |
parent | 8ad044cb2c2cbf728cb5aacd665e2c1f7337c709 (diff) | |
download | troggle-b0073caf5fadcf0d7c881774e0ca6c2087db6b73.tar.gz troggle-b0073caf5fadcf0d7c881774e0ca6c2087db6b73.tar.bz2 troggle-b0073caf5fadcf0d7c881774e0ca6c2087db6b73.zip |
[svn] not ready for that yet
Diffstat (limited to 'core')
-rw-r--r-- | core/views_other.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views_other.py b/core/views_other.py index b2bc9cd..5bf7333 100644 --- a/core/views_other.py +++ b/core/views_other.py @@ -165,7 +165,7 @@ def logbook_entry_suggestions(request): """
unwiki_QM_pattern=r"(?P<whole>(?P<explorer_code>[ABC]?)(?P<cave>\d*)-?(?P<year>\d\d\d?\d?)-(?P<number>\d\d)(?P<grade>[ABCDXV]?)(?=\s))"
unwiki_QM_pattern=re.compile(unwiki_QM_pattern)
- wikilink_QM_pattern=settings.QM_PATTERN
+ #wikilink_QM_pattern=settings.QM_PATTERN
slug=request.POST['slug']
date=request.POST['date']
@@ -192,7 +192,7 @@ def logbook_entry_suggestions(request): print unwiki_QMs
- wikilink_QMs=re.findall(wikilink_QM_pattern,lbo.text)
+ #wikilink_QMs=re.findall(wikilink_QM_pattern,lbo.text)
attached_QMs=lbo.QMs_found.all()
unmentioned_attached_QMs=''#not implemented, fill this in by subtracting wiklink_QMs from attached_QMs
|