diff --git a/ram/portal/templates/includes/login.html b/ram/portal/templates/includes/login.html
index 88a19d2..f9d69a7 100644
--- a/ram/portal/templates/includes/login.html
+++ b/ram/portal/templates/includes/login.html
@@ -18,7 +18,12 @@
Admin
Site configuration
- Logout
+
+
+
{% else %}
Log in
diff --git a/ram/ram/__init__.py b/ram/ram/__init__.py
index 5f04d76..afce73c 100644
--- a/ram/ram/__init__.py
+++ b/ram/ram/__init__.py
@@ -1,4 +1,4 @@
from ram.utils import git_suffix
-__version__ = "0.13.3"
+__version__ = "0.13.4"
__version__ += git_suffix(__file__)
diff --git a/ram/ram/management/commands/purge_cache.py b/ram/ram/management/commands/purge_cache.py
new file mode 100644
index 0000000..49edafc
--- /dev/null
+++ b/ram/ram/management/commands/purge_cache.py
@@ -0,0 +1,13 @@
+from django.core.cache import cache
+from django.core.management.base import BaseCommand, CommandError
+
+
+class Command(BaseCommand):
+ help = "Clear the application cache"
+
+ def handle(self, *args, **options):
+ try:
+ cache.clear()
+ self.stdout.write(self.style.SUCCESS("Cache cleared"))
+ except Exception:
+ raise CommandError("Cache is not active")