diff --git a/apps/activity/views.py b/apps/activity/views.py index 10e073f0..952ea59c 100644 --- a/apps/activity/views.py +++ b/apps/activity/views.py @@ -32,6 +32,7 @@ class ActivityListView(LoginRequiredMixin, SingleTableView): class ActivityDetailView(LoginRequiredMixin, DetailView): model = Activity + context_object_name = "activity" class ActivityUpdateView(LoginRequiredMixin, UpdateView): diff --git a/templates/activity/activity_detail.html b/templates/activity/activity_detail.html new file mode 100644 index 00000000..bd946643 --- /dev/null +++ b/templates/activity/activity_detail.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} +{% load static %} +{% load i18n %} +{% load render_table from django_tables2 %} +{% load pretty_money %} + +{% block content %} + +