TransparentHealth / smh_app

Share My Health App: An application for Community Members and Community Based Organizations
Apache License 2.0
2 stars 3 forks source link

More Specific URL Matching For PKs #21

Closed dchukhin closed 5 years ago

dchukhin commented 5 years ago

Note: this pull request depends on #20

This pull request changes the way we match pks in URLs from \d to [0-9], to be more specific that the pk must be an integer where each digit must be between 0 and 9. Also, we add a +, since pks can be more than 1 digit.