Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Modified key validation in backdrop to allow TE data (key accept numb…
Browse files Browse the repository at this point in the history
…ers at the start, brackets, dashes and underscores)

@yolinas
  • Loading branch information
yolinas committed Jul 22, 2013
1 parent 4da2c86 commit 65168be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backdrop/core/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'_timestamp',
'_id'
)
VALID_KEY = re.compile('^[a-z_][a-z0-9_]+$')
VALID_KEY = re.compile('^[a-z0-9_][a-z0-9_\-\(\)]+$')


def _is_real_date(value):
Expand Down

0 comments on commit 65168be

Please sign in to comment.