task CRUD update

This commit is contained in:
Marvin Zhang
2019-02-11 22:29:35 +08:00
parent a6172a0c5f
commit 62ded673dc
9 changed files with 203 additions and 21 deletions

5
utils/__init__.py Normal file
View File

@@ -0,0 +1,5 @@
import re
def is_object_id(id):
return re.search('^[a-zA-Z0-9]{24}$', id) is not None