{"action":"created","issue":{"url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango/issues/18","repository_url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango","labels_url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango/issues/18/comments","events_url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango/issues/18/events","html_url":"https://github.com/Colorless-Green-Ideas/MaterialDjango/issues/18","id":136431856,"number":18,"title":"New to Django - help with setup","user":{"login":"onepartninja","id":5151675,"avatar_url":"https://avatars.githubusercontent.com/u/5151675?v=3","gravatar_id":"","url":"https://api.github.com/users/onepartninja","html_url":"https://github.com/onepartninja","followers_url":"https://api.github.com/users/onepartninja/followers","following_url":"https://api.github.com/users/onepartninja/following{/other_user}","gists_url":"https://api.github.com/users/onepartninja/gists{/gist_id}","starred_url":"https://api.github.com/users/onepartninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onepartninja/subscriptions","organizations_url":"https://api.github.com/users/onepartninja/orgs","repos_url":"https://api.github.com/users/onepartninja/repos","events_url":"https://api.github.com/users/onepartninja/events{/privacy}","received_events_url":"https://api.github.com/users/onepartninja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-25T16:09:12Z","updated_at":"2016-02-26T21:52:10Z","closed_at":null,"body":"Sorry to post such a dumb question but I've been playing around for the last week and haven't found a way to get this going. I'm new to django, not so new to polymer, and have implemented a couple apps without issue but they had their own urls.py and a views.py to deal with which aligned with what I learned. I haven't found any resources that helped get this set up without those components.\r\n\r\nCould you throw up a basic couple of steps on how to get it going?"},"comment":{"url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango/issues/comments/189495631","html_url":"https://github.com/Colorless-Green-Ideas/MaterialDjango/issues/18#issuecomment-189495631","issue_url":"https://api.github.com/repos/Colorless-Green-Ideas/MaterialDjango/issues/18","id":189495631,"user":{"login":"jrabbit","id":178803,"avatar_url":"https://avatars.githubusercontent.com/u/178803?v=3","gravatar_id":"","url":"https://api.github.com/users/jrabbit","html_url":"https://github.com/jrabbit","followers_url":"https://api.github.com/users/jrabbit/followers","following_url":"https://api.github.com/users/jrabbit/following{/other_user}","gists_url":"https://api.github.com/users/jrabbit/gists{/gist_id}","starred_url":"https://api.github.com/users/jrabbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrabbit/subscriptions","organizations_url":"https://api.github.com/users/jrabbit/orgs","repos_url":"https://api.github.com/users/jrabbit/repos","events_url":"https://api.github.com/users/jrabbit/events{/privacy}","received_events_url":"https://api.github.com/users/jrabbit/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T21:52:09Z","updated_at":"2016-02-26T21:52:09Z","body":"So in your base template (base.html typically) you should have: \r\n`{% load staticfiles %}`\r\n`{% load polymerdep %}`\r\nand in your settings.py you should have  materialdjango in your INSTALLED_APPS list.\r\n\r\nthen you can import polymer deps with just the packagename/filename.html e.g. `{{ \"polymer/polymer.html\" | dep}}`.\r\n\r\nThis is just a thin wrapper around django's builtin staticfiles application that serves up our vendored version of polymer.\r\nYou don't need any special urls.py or views.py all of the heavy lifting is done in the template tag logic.\r\nIs that clearer than the readme?\r\n\r\n[an example base template is included](https://github.com/Colorless-Green-Ideas/MaterialDjango/blob/master/materialdjango/templates/materialdjango/vinyl-siding.html)\r\n\r\nTo use the included widgets in forms just specify them wherever you create the form [e.g.](https://github.com/Colorless-Green-Ideas/MaterialDjango/blob/master/materialdjango/forms.py#L6)"}}