diff --git a/CHANGELOG b/CHANGELOG
index dce31fbf..7402d1a1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,9 @@
+## 2.18.1
+- pydal 19.02
+- made template its own module (Yet Another Template Language)
+- improved python 3.4-3.7 support
+- bug fixes
+
## 2.17.1-2
- pydal 18.08
- many small bug fixes
diff --git a/Makefile b/Makefile
index 0f9c530f..ec5f6eeb 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ rmfiles:
rm -rf applications/examples/uploads/*
src:
### Use semantic versioning
- echo 'Version 2.17.2-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
+ echo 'Version 2.18.1-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION
### rm -f all junk files
#make clean
# make rmfiles
diff --git a/VERSION b/VERSION
index fe799f43..cc717d5d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-Version 2.17.2-stable+timestamp.2018.10.06.11.34.06
+Version 2.18.1-stable+timestamp.2019.02.23.21.45.30
diff --git a/applications/admin/controllers/appadmin.py b/applications/admin/controllers/appadmin.py
index da050a5b..005285a5 100644
--- a/applications/admin/controllers/appadmin.py
+++ b/applications/admin/controllers/appadmin.py
@@ -185,9 +185,9 @@ def select():
is_imap = db._uri.startswith("imap://")
except (KeyError, AttributeError, TypeError):
is_imap = False
- regex = re.compile('(?P
\w+)\.(?P\w+)=(?P\d+)')
+ regex = re.compile(r'(?P\w+)\.(?P\w+)=(?P\d+)')
if len(request.args) > 1 and hasattr(db[request.args[1]], '_primarykey'):
- regex = re.compile('(?P\w+)\.(?P\w+)=(?P.+)')
+ regex = re.compile(r'(?P\w+)\.(?P\w+)=(?P.+)')
if request.vars.query:
match = regex.match(request.vars.query)
if match:
@@ -237,7 +237,7 @@ def select():
tb = None
if form.accepts(request.vars, formname=None):
- regex = re.compile(request.args[0] + '\.(?P\w+)\..+')
+ regex = re.compile(request.args[0] + r'\.(?P\w+)\..+')
match = regex.match(form.vars.query.strip())
if match:
table = match.group('table')
diff --git a/applications/examples/controllers/appadmin.py b/applications/examples/controllers/appadmin.py
index da050a5b..005285a5 100644
--- a/applications/examples/controllers/appadmin.py
+++ b/applications/examples/controllers/appadmin.py
@@ -185,9 +185,9 @@ def select():
is_imap = db._uri.startswith("imap://")
except (KeyError, AttributeError, TypeError):
is_imap = False
- regex = re.compile('(?P\w+)\.(?P\w+)=(?P\d+)')
+ regex = re.compile(r'(?P\w+)\.(?P\w+)=(?P\d+)')
if len(request.args) > 1 and hasattr(db[request.args[1]], '_primarykey'):
- regex = re.compile('(?P\w+)\.(?P\w+)=(?P.+)')
+ regex = re.compile(r'(?P\w+)\.(?P\w+)=(?P.+)')
if request.vars.query:
match = regex.match(request.vars.query)
if match:
@@ -237,7 +237,7 @@ def select():
tb = None
if form.accepts(request.vars, formname=None):
- regex = re.compile(request.args[0] + '\.(?P\w+)\..+')
+ regex = re.compile(request.args[0] + r'\.(?P\w+)\..+')
match = regex.match(form.vars.query.strip())
if match:
table = match.group('table')