{"action":"created","comment":{"url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/comments/60881223","id":60881223,"diff_hunk":"@@ -133,6 +133,23 @@ def test_home_page_default_prefix_ru_404(self):\n \n     # settings\n \n+    @override_settings(SOLID_I18N_PREFIX_STRICT=False)\n+    def test_about_page_strict_prefix(self):\n+        response = self.client.get('/ru/about/')\n+        self._base_page_check(response, \"ru\", \"about\")\n+        self.assertContains(response, '<test>/ru/about/</test>')\n+        response = self.client.get('/ru-slug/about/')\n+        self._base_page_check(response, \"ru\", \"about\")\n+        self.assertContains(response, '<test>/ru-slug/about/</test>')\n+\n+    @override_settings(SOLID_I18N_PREFIX_STRICT=True)\n+    def test_about_page_strict_prefix(self):","path":"example/tests/test_solid_urls.py","position":null,"original_position":14,"commit_id":"292fd49388f04279c6a7981a1c69dc53cc4a4c21","original_commit_id":"c259f1662bae17798d67d23866348bc2f930933a","user":{"login":"DrMeers","id":48157,"avatar_url":"https://avatars.githubusercontent.com/u/48157?v=3","gravatar_id":"","url":"https://api.github.com/users/DrMeers","html_url":"https://github.com/DrMeers","followers_url":"https://api.github.com/users/DrMeers/followers","following_url":"https://api.github.com/users/DrMeers/following{/other_user}","gists_url":"https://api.github.com/users/DrMeers/gists{/gist_id}","starred_url":"https://api.github.com/users/DrMeers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrMeers/subscriptions","organizations_url":"https://api.github.com/users/DrMeers/orgs","repos_url":"https://api.github.com/users/DrMeers/repos","events_url":"https://api.github.com/users/DrMeers/events{/privacy}","received_events_url":"https://api.github.com/users/DrMeers/received_events","type":"User","site_admin":false},"body":"Ha -- thanks! I've fixed the tests, and also made the strict checking more useful which resolves my comment above about the Burmese with \"my-slug\"... -- see updates below.","created_at":"2016-04-25T09:00:39Z","updated_at":"2016-04-25T09:00:39Z","html_url":"https://github.com/st4lk/django-solid-i18n-urls/pull/34#discussion_r60881223","pull_request_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/comments/60881223"},"html":{"href":"https://github.com/st4lk/django-solid-i18n-urls/pull/34#discussion_r60881223"},"pull_request":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34","id":67450231,"html_url":"https://github.com/st4lk/django-solid-i18n-urls/pull/34","diff_url":"https://github.com/st4lk/django-solid-i18n-urls/pull/34.diff","patch_url":"https://github.com/st4lk/django-solid-i18n-urls/pull/34.patch","issue_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues/34","number":34,"state":"open","locked":false,"title":"Option to pass strict=True to get_language_from_path. See #18","user":{"login":"DrMeers","id":48157,"avatar_url":"https://avatars.githubusercontent.com/u/48157?v=3","gravatar_id":"","url":"https://api.github.com/users/DrMeers","html_url":"https://github.com/DrMeers","followers_url":"https://api.github.com/users/DrMeers/followers","following_url":"https://api.github.com/users/DrMeers/following{/other_user}","gists_url":"https://api.github.com/users/DrMeers/gists{/gist_id}","starred_url":"https://api.github.com/users/DrMeers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrMeers/subscriptions","organizations_url":"https://api.github.com/users/DrMeers/orgs","repos_url":"https://api.github.com/users/DrMeers/repos","events_url":"https://api.github.com/users/DrMeers/events{/privacy}","received_events_url":"https://api.github.com/users/DrMeers/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-22T02:20:22Z","updated_at":"2016-04-25T09:00:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1efaf1a7e2b06543f763e0d5e58025bef66eb96d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34/commits","review_comments_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34/comments","review_comment_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues/34/comments","statuses_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/statuses/292fd49388f04279c6a7981a1c69dc53cc4a4c21","head":{"label":"DrMeers:strict_prefix","ref":"strict_prefix","sha":"292fd49388f04279c6a7981a1c69dc53cc4a4c21","user":{"login":"DrMeers","id":48157,"avatar_url":"https://avatars.githubusercontent.com/u/48157?v=3","gravatar_id":"","url":"https://api.github.com/users/DrMeers","html_url":"https://github.com/DrMeers","followers_url":"https://api.github.com/users/DrMeers/followers","following_url":"https://api.github.com/users/DrMeers/following{/other_user}","gists_url":"https://api.github.com/users/DrMeers/gists{/gist_id}","starred_url":"https://api.github.com/users/DrMeers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrMeers/subscriptions","organizations_url":"https://api.github.com/users/DrMeers/orgs","repos_url":"https://api.github.com/users/DrMeers/repos","events_url":"https://api.github.com/users/DrMeers/events{/privacy}","received_events_url":"https://api.github.com/users/DrMeers/received_events","type":"User","site_admin":false},"repo":{"id":56818827,"name":"django-solid-i18n-urls","full_name":"DrMeers/django-solid-i18n-urls","owner":{"login":"DrMeers","id":48157,"avatar_url":"https://avatars.githubusercontent.com/u/48157?v=3","gravatar_id":"","url":"https://api.github.com/users/DrMeers","html_url":"https://github.com/DrMeers","followers_url":"https://api.github.com/users/DrMeers/followers","following_url":"https://api.github.com/users/DrMeers/following{/other_user}","gists_url":"https://api.github.com/users/DrMeers/gists{/gist_id}","starred_url":"https://api.github.com/users/DrMeers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrMeers/subscriptions","organizations_url":"https://api.github.com/users/DrMeers/orgs","repos_url":"https://api.github.com/users/DrMeers/repos","events_url":"https://api.github.com/users/DrMeers/events{/privacy}","received_events_url":"https://api.github.com/users/DrMeers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DrMeers/django-solid-i18n-urls","description":"Use default language for urls without language prefix.","fork":true,"url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls","forks_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/forks","keys_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/teams","hooks_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/hooks","issue_events_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/issues/events{/number}","events_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/events","assignees_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/assignees{/user}","branches_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/branches{/branch}","tags_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/tags","blobs_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/git/refs{/sha}","trees_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/statuses/{sha}","languages_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/languages","stargazers_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/stargazers","contributors_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/contributors","subscribers_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/subscribers","subscription_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/subscription","commits_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/commits{/sha}","git_commits_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/git/commits{/sha}","comments_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/comments{/number}","issue_comment_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/issues/comments{/number}","contents_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/contents/{+path}","compare_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/merges","archive_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/downloads","issues_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/issues{/number}","pulls_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/pulls{/number}","milestones_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/milestones{/number}","notifications_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/labels{/name}","releases_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/releases{/id}","deployments_url":"https://api.github.com/repos/DrMeers/django-solid-i18n-urls/deployments","created_at":"2016-04-22T02:06:22Z","updated_at":"2016-04-22T02:06:23Z","pushed_at":"2016-04-25T08:58:10Z","git_url":"git://github.com/DrMeers/django-solid-i18n-urls.git","ssh_url":"git@github.com:DrMeers/django-solid-i18n-urls.git","clone_url":"https://github.com/DrMeers/django-solid-i18n-urls.git","svn_url":"https://github.com/DrMeers/django-solid-i18n-urls","homepage":"http://www.lexev.org/en/","size":104,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"st4lk:master","ref":"master","sha":"a90020b50dfee8d483597295fc8358d5b3dcb863","user":{"login":"st4lk","id":1771042,"avatar_url":"https://avatars.githubusercontent.com/u/1771042?v=3","gravatar_id":"","url":"https://api.github.com/users/st4lk","html_url":"https://github.com/st4lk","followers_url":"https://api.github.com/users/st4lk/followers","following_url":"https://api.github.com/users/st4lk/following{/other_user}","gists_url":"https://api.github.com/users/st4lk/gists{/gist_id}","starred_url":"https://api.github.com/users/st4lk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st4lk/subscriptions","organizations_url":"https://api.github.com/users/st4lk/orgs","repos_url":"https://api.github.com/users/st4lk/repos","events_url":"https://api.github.com/users/st4lk/events{/privacy}","received_events_url":"https://api.github.com/users/st4lk/received_events","type":"User","site_admin":false},"repo":{"id":8248809,"name":"django-solid-i18n-urls","full_name":"st4lk/django-solid-i18n-urls","owner":{"login":"st4lk","id":1771042,"avatar_url":"https://avatars.githubusercontent.com/u/1771042?v=3","gravatar_id":"","url":"https://api.github.com/users/st4lk","html_url":"https://github.com/st4lk","followers_url":"https://api.github.com/users/st4lk/followers","following_url":"https://api.github.com/users/st4lk/following{/other_user}","gists_url":"https://api.github.com/users/st4lk/gists{/gist_id}","starred_url":"https://api.github.com/users/st4lk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st4lk/subscriptions","organizations_url":"https://api.github.com/users/st4lk/orgs","repos_url":"https://api.github.com/users/st4lk/repos","events_url":"https://api.github.com/users/st4lk/events{/privacy}","received_events_url":"https://api.github.com/users/st4lk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/st4lk/django-solid-i18n-urls","description":"Use default language for urls without language prefix.","fork":false,"url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls","forks_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/forks","keys_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/teams","hooks_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/hooks","issue_events_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues/events{/number}","events_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/events","assignees_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/assignees{/user}","branches_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/branches{/branch}","tags_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/tags","blobs_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/git/refs{/sha}","trees_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/statuses/{sha}","languages_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/languages","stargazers_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/stargazers","contributors_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/contributors","subscribers_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/subscribers","subscription_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/subscription","commits_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/commits{/sha}","git_commits_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/git/commits{/sha}","comments_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/comments{/number}","issue_comment_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues/comments{/number}","contents_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/contents/{+path}","compare_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/merges","archive_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/downloads","issues_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues{/number}","pulls_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls{/number}","milestones_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/milestones{/number}","notifications_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/labels{/name}","releases_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/releases{/id}","deployments_url":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/deployments","created_at":"2013-02-17T09:48:39Z","updated_at":"2016-04-23T11:42:53Z","pushed_at":"2016-04-25T08:57:31Z","git_url":"git://github.com/st4lk/django-solid-i18n-urls.git","ssh_url":"git@github.com:st4lk/django-solid-i18n-urls.git","clone_url":"https://github.com/st4lk/django-solid-i18n-urls.git","svn_url":"https://github.com/st4lk/django-solid-i18n-urls","homepage":"http://www.lexev.org/en/","size":103,"stargazers_count":88,"watchers_count":88,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":4,"forks":19,"open_issues":4,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34"},"html":{"href":"https://github.com/st4lk/django-solid-i18n-urls/pull/34"},"issue":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues/34"},"comments":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/st4lk/django-solid-i18n-urls/statuses/292fd49388f04279c6a7981a1c69dc53cc4a4c21"}}}}