Skip to content

Commit

Permalink
fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
cquest committed May 10, 2021
1 parent 4ce79a9 commit 2ef34b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folksonomy/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pydantic import BaseModel, ValidationError, validator

re_barcode = re.compile(r'[0-9]{1,13}')
re_key = re.compile(r'[a-zA-Z0-9_]+')
re_key = re.compile(r'[a-zA-Z0-9_]+(\:[a-zA-Z0-9_]+)*')

class User(BaseModel):
user_id: str
Expand Down

0 comments on commit 2ef34b1

Please sign in to comment.