Hi there, "real time" is incredibly vague and begs for a stricter definition. The true meaning indicates a guaranteed response time, which is most likely not what your client means (http://en.wikipedia.org/wiki/Real-time_computing).
What they most likely mean is "submits without reloading the page", in which case, rather than introducing a whole separate moving part into your stack (a websocket server), along with what appears to be another framework, you could achieve the desired result simply by making an AJAX request in the checkout process. If unfortunately your client actually means "has to use websockets", then you might be able monkey-patch the relevant model doing something like: Foo.__bases__ = (SelfPublishModel,) + Foo.__bases__ But before you go down that path I think you'd do yourself and your client a favour by educating them on using the best tool for the job rather than having them dictate your architecture to you :-) Good luck! On Sat, May 9, 2015 at 2:57 PM, Andrew Fam <[email protected]> wrote: > I'm thinking of using mezzanine but a client wants a real time update of > orders. > > http://swampdragon.net/documentation/quick-start/ > > from django.db import modelsfrom swampdragon.models import > SelfPublishModelfrom .serializers import FooSerializer > > class Foo(SelfPublishModel, models.Model): > serializer_class = FooSerializer > text = models.CharField(max_length=100) > > > Got this off the swampdragon page and they require an addition of > SelfPublishModel to any object that you need realtime support. > Any idea how to do this with cartridge? > > > Best regarsd, > Andrew > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
