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 | f359b645e6c58c0756cb29a6c7950ef998f88bed (patch) | |
tree | 7f5d5bf2329bd13f69e0d505814740441101ab28 /core | |
parent | bfa202078b17494d5dc7b92633dc697541b2b417 (diff) | |
download | troggle-f359b645e6c58c0756cb29a6c7950ef998f88bed.tar.gz troggle-f359b645e6c58c0756cb29a6c7950ef998f88bed.tar.bz2 troggle-f359b645e6c58c0756cb29a6c7950ef998f88bed.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
|