Hacker News new | ask | show | jobs
by pmontra 1055 days ago
This is subjective and in part marketing but given that it is installed with

  pip install django-unicorn
and used with

  from django_unicorn.components import UnicornView
like any other python module used in a Django app, I'd say that it brings the full stack inside Django, much like its counterparts for Laravel, Phoenix and Rails. What was only backend plus server side generated pages is also Javascript now, written inside the backend without even having to know Javascript.
1 comments

As in "alternative views for Django"?
They almost surely work together with Django standard views and templates. A Django view prepares the data for the template that renders the HTML page. Then some of that HTML talks with the Unicorn views declared in the attributes of its tags.