Add plausible

This commit is contained in:
Jake Howard 2022-08-25 14:01:32 +01:00
parent a48aeeb55d
commit 82e7a00d8a
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 11 additions and 3 deletions

View file

@ -18,3 +18,4 @@ django-htmx
wagtail-metadata
humanize
drf-yasg
django-plausible

View file

@ -15,12 +15,13 @@ click==8.1.3 # via rq
coreapi==2.3.3 # via drf-yasg
coreschema==0.0.4 # via coreapi, drf-yasg
deprecated==1.2.13 # via redis
django==4.0.6 # via -r requirements/base.in, django-filter, django-htmx, django-modelcluster, django-permissionedforms, django-redis, django-rq, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail
django==4.0.6 # via -r requirements/base.in, django-filter, django-htmx, django-modelcluster, django-permissionedforms, django-plausible, django-redis, django-rq, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail
django-environ==0.9.0 # via -r requirements/base.in
django-filter==21.1 # via wagtail
django-htmx==1.12.1 # via -r requirements/base.in
django-modelcluster==6.0 # via wagtail
django-permissionedforms==0.1 # via wagtail
django-plausible==0.3.0 # via -r requirements/base.in
django-redis==5.2.0 # via -r requirements/base.in
django-rq==2.5.1 # via -r requirements/base.in
django-taggit==2.1.0 # via wagtail

View file

@ -20,7 +20,7 @@ coreschema==0.0.4 # via -r requirements/base.txt, coreapi, drf-yasg
coverage==6.4.4 # via -r requirements/dev.in
curlylint==0.13.1 # via -r requirements/dev.in
deprecated==1.2.13 # via -r requirements/base.txt, redis
django==4.0.6 # via -r requirements/base.txt, django-browser-reload, django-debug-toolbar, django-filter, django-htmx, django-modelcluster, django-permissionedforms, django-redis, django-rq, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail
django==4.0.6 # via -r requirements/base.txt, django-browser-reload, django-debug-toolbar, django-filter, django-htmx, django-modelcluster, django-permissionedforms, django-plausible, django-redis, django-rq, django-taggit, django-treebeard, djangorestframework, drf-yasg, wagtail
django-browser-reload==1.6.0 # via -r requirements/dev.in
django-debug-toolbar==3.5.0 # via -r requirements/dev.in
django-environ==0.9.0 # via -r requirements/base.txt
@ -28,6 +28,7 @@ django-filter==21.1 # via -r requirements/base.txt, wagtail
django-htmx==1.12.1 # via -r requirements/base.txt
django-modelcluster==6.0 # via -r requirements/base.txt, wagtail
django-permissionedforms==0.1 # via -r requirements/base.txt, wagtail
django-plausible==0.3.0 # via -r requirements/base.txt
django-redis==5.2.0 # via -r requirements/base.txt
django-rq==2.5.1 # via -r requirements/base.txt
django-taggit==2.1.0 # via -r requirements/base.txt, wagtail

View file

@ -1,4 +1,4 @@
{% load static wagtailcore_tags wagtailuserbar navbar_tags footer_tags cache %}
{% load static wagtailcore_tags wagtailuserbar navbar_tags footer_tags cache plausible_wagtail %}
<!DOCTYPE html>
<html lang="en-GB">
@ -50,5 +50,7 @@
{% block extra_js %}{% endblock %}
{% plausible %}
</body>
</html>

View file

@ -44,6 +44,7 @@ INSTALLED_APPS = [
"wagtail.contrib.modeladmin",
"wagtail.contrib.routable_page",
"wagtail.contrib.typed_table_block",
"wagtail.contrib.settings",
"wagtail.embeds",
"wagtail.sites",
"wagtail.users",
@ -60,6 +61,8 @@ INSTALLED_APPS = [
"wagtail_draftail_snippet",
"django_rq",
"drf_yasg",
"plausible",
"plausible.contrib.wagtail",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",