diff --git a/example/unicorn/components/direct_view.py b/example/unicorn/components/direct_view.py
new file mode 100644
index 00000000..bf77782b
--- /dev/null
+++ b/example/unicorn/components/direct_view.py
@@ -0,0 +1,7 @@
+from django.utils.timezone import now
+
+from django_unicorn.components import UnicornView
+
+
+class DirectViewView(UnicornView):
+ name = "test"
diff --git a/example/unicorn/templates/unicorn/direct-view.html b/example/unicorn/templates/unicorn/direct-view.html
new file mode 100644
index 00000000..5daeae54
--- /dev/null
+++ b/example/unicorn/templates/unicorn/direct-view.html
@@ -0,0 +1,13 @@
+{% extends "www/base.html" %}
+{% load unicorn %}
+
+{% block content %}
+
+
+
Direct View
+
+
+ {{ name }}
+
+
+{% endblock content %}
\ No newline at end of file
diff --git a/example/www/templates/www/base.html b/example/www/templates/www/base.html
index f3536da1..32e2cd14 100644
--- a/example/www/templates/www/base.html
+++ b/example/www/templates/www/base.html
@@ -1,48 +1,52 @@
{% load static unicorn %}
-
- django-unicorn examples
-
-
-
-
- {% unicorn_scripts %}
-
-
-
-
- {% csrf_token %}
-
- django-unicorn
-
-
-
- {% block content %}{% endblock content %}
-
-
-
+
+
+ django-unicorn examples
+
+
+
+
+ {% unicorn_scripts %}
+
+
+
+
+ {% csrf_token %}
+
+ django-unicorn
+
+
+
+ {% block content %}{% endblock content %}
+
+
+
\ No newline at end of file
diff --git a/example/www/urls.py b/example/www/urls.py
index 8c73988e..0f74458d 100644
--- a/example/www/urls.py
+++ b/example/www/urls.py
@@ -1,6 +1,6 @@
from django.urls import path
-from example.unicorn.components.text_inputs import TextInputsView
+from example.unicorn.components.direct_view import DirectViewView
from . import views
@@ -11,7 +11,7 @@
path("", views.index, name="index"),
path(
"direct-view",
- TextInputsView.as_view(),
+ DirectViewView.as_view(),
name="direct-view",
),
path("", views.template, name="template"),