jonathan-s / django-sockpuppet

Build reactive applications with the django tooling you already know and love.
https://github.com/jonathan-s/django-sockpuppet
MIT License
450 stars 22 forks source link

Mistakes in documentation. #97

Closed paulik123 closed 3 years ago

paulik123 commented 3 years ago

Bug Report

https://sockpuppet.argpar.se/persistence#instance-variables

Here in the example_reflex.py example.

Change this:

def updateValue
  this.value = self.element['value']

to this

    def updateValue(self):
        self.value = self.element.attributes['value']
jonathan-s commented 3 years ago

Thanks! I've amended that.