{"action":"opened","issue":{"url":"https://api.github.com/repos/caktus/django_bread/issues/14","labels_url":"https://api.github.com/repos/caktus/django_bread/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/caktus/django_bread/issues/14/comments","events_url":"https://api.github.com/repos/caktus/django_bread/issues/14/events","html_url":"https://github.com/caktus/django_bread/issues/14","id":69848201,"number":14,"title":"url regexes not specific enough","user":{"login":"caktus-philip","id":7290643,"avatar_url":"https://avatars.githubusercontent.com/u/7290643?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus-philip","html_url":"https://github.com/caktus-philip","followers_url":"https://api.github.com/users/caktus-philip/followers","following_url":"https://api.github.com/users/caktus-philip/following{/other_user}","gists_url":"https://api.github.com/users/caktus-philip/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus-philip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus-philip/subscriptions","organizations_url":"https://api.github.com/users/caktus-philip/orgs","repos_url":"https://api.github.com/users/caktus-philip/repos","events_url":"https://api.github.com/users/caktus-philip/events{/privacy}","received_events_url":"https://api.github.com/users/caktus-philip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-21T13:36:48Z","updated_at":"2015-04-21T13:36:48Z","closed_at":null,"body":"In `get_urls()`, the regexes lack a leading caret so a plural name like 'constituencies' will match e.g. both 'constituencies' and 'subconstituencies'. This happened to me when I had a bread view for both but had the subconstituencies view misconfigured, using the default plural \"subcontituencys\". Going to `http://127.0.0.1:8000/registration/subconstituencies/` matched the regex for the constituencies view.\r\n\r\n"}}