Comment on Unicorn – A full-stack web framework for DjangoComments−throwaway1543yDoes class TodoView(UnicornView): create a model? class UnicornView(TemplateView) and from django.views.generic.base import TemplateView Is this Django magic a Flasker doesn't get?−selcuka3yAs far as I understand UnicornView attributes (such as `self.tasks`) simply synchronise client state with the server side. It doesn't seem to automagically create a model instance unless you specifically do it.−kbaker3yThis is correct. It looks like there is good integration with existing Django models: https://www.django-unicorn.com/docs/django-models/
Comments
Does
create a model? and Is this Django magic a Flasker doesn't get?As far as I understand UnicornView attributes (such as `self.tasks`) simply synchronise client state with the server side. It doesn't seem to automagically create a model instance unless you specifically do it.
This is correct. It looks like there is good integration with existing Django models: https://www.django-unicorn.com/docs/django-models/