Browse Source

Add user_data.js

Script will be used to obtain data from server for D3 consumption.
master
Chris Shyi 7 years ago
parent
commit
e5151a1b92
  1. 0
      spotifyvis/static/spotifyvis/scripts/user_data.js
  2. 1
      spotifyvis/templates/spotifyvis/user_data.html

0
spotifyvis/static/spotifyvis/scripts/user_data.js

1
spotifyvis/templates/spotifyvis/user_data.html

@ -16,5 +16,6 @@
<![endif]--> <![endif]-->
<h1>Logged in as {{ id }}</h1> <h1>Logged in as {{ id }}</h1>
<h2>Display name {{ user_name }}</h2> <h2>Display name {{ user_name }}</h2>
<script src="{% static 'spotifyvis/scripts/user_data.js' %}"></script>
</body> </body>
</html> </html>
Loading…
Cancel
Save