diff --git a/apps/views.py b/apps/views.py index 127b4cc5..22cc2a86 100644 --- a/apps/views.py +++ b/apps/views.py @@ -55,13 +55,13 @@ def index(request, user, project): name="dispatch", ) class GetLogsView(View): - def get(self, request, user, project, ai_id): + def get(self, request, project, ai_id): template = "apps/logs.html" app = AppInstance.objects.get(pk=ai_id) project = Project.objects.get(slug=project) return render(request, template, locals()) - def post(self, request, user, project): + def post(self, request, project): body = request.POST.get("app", "") container = request.POST.get("container", "") app = AppInstance.objects.get(pk=body) diff --git a/templates/apps/logs.html b/templates/apps/logs.html index 0408fbbe..16908272 100644 --- a/templates/apps/logs.html +++ b/templates/apps/logs.html @@ -7,7 +7,7 @@ @@ -46,7 +46,7 @@

{{ app.name }} Logs

{{ app.name }} Logs
{