{"action":"closed","issue":{"url":"https://api.github.com/repos/nitely/django-djconfig/issues/31","repository_url":"https://api.github.com/repos/nitely/django-djconfig","labels_url":"https://api.github.com/repos/nitely/django-djconfig/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/nitely/django-djconfig/issues/31/comments","events_url":"https://api.github.com/repos/nitely/django-djconfig/issues/31/events","html_url":"https://github.com/nitely/django-djconfig/issues/31","id":394909676,"node_id":"MDU6SXNzdWUzOTQ5MDk2NzY=","number":31,"title":"How to access config when testing apps within project","user":{"login":"tylerecouture","id":10604391,"node_id":"MDQ6VXNlcjEwNjA0Mzkx","avatar_url":"https://avatars3.githubusercontent.com/u/10604391?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerecouture","html_url":"https://github.com/tylerecouture","followers_url":"https://api.github.com/users/tylerecouture/followers","following_url":"https://api.github.com/users/tylerecouture/following{/other_user}","gists_url":"https://api.github.com/users/tylerecouture/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerecouture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerecouture/subscriptions","organizations_url":"https://api.github.com/users/tylerecouture/orgs","repos_url":"https://api.github.com/users/tylerecouture/repos","events_url":"https://api.github.com/users/tylerecouture/events{/privacy}","received_events_url":"https://api.github.com/users/tylerecouture/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-12-30T23:27:42Z","updated_at":"2019-01-05T07:12:46Z","closed_at":"2019-01-05T07:12:46Z","author_association":"NONE","body":"When I try to test an app within my project, it doesn't recognize any of the config attributes in my project.  For example, I get this error:\r\n`AttributeError: Attribute \"hs_active_semester\" not found in config.`\r\n\r\nI've tried adding `@override_djconfig(hs_active_semester=\"1\")` to the test\r\nwithout luck.\r\n\r\nMy project structure is:\r\n\r\n```\r\nmy_project\r\n > forms.py  <-- djconfig form in there\r\n > apps.py <-- djconfig registered in there\r\n > etc\r\nmy_app1\r\n > models.py\r\n > views.py\r\n > tests.py <-- throws the error because it can't find config attributes it needs to do stuff\r\n > etc\r\n```\r\n\r\n"}}
{"actor":{"display_login":"tylerecouture"}}