@@ -0,0 +1,7 @@
+{% extends "grunge/base.html" %}
+
+{% for artist in artists %}
+<div class="col-12">
+ {{ artist }}
+</div>
+{% endfor %}
@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <link href="{% static 'grunge/css/bootstrap/bootstrap-4.1.3.min.css' %}" rel="stylesheet">
+ <script src="{% static 'grunge/js/jquery-3.6.0.min.js' %}"></script>
+ <script src="{% static 'grunge/css/bootstrap/bootstrap-4.1.3.min.js' %}"></script>
+ </head>
+ <body>
+ <div class="content-fluid">
+ {% block content %}
+ {% endblock content %}
+ </div>
+ </body>
+</html>
@@ -0,0 +1,9 @@
+from django.views.generic import ListView
+from .models import Artist
+class ArtistListView(ListView):
+ queryset = Artist.objects.all()
+ template_name = "grunge/artist_list.html"
+ context_object_name = "artist"