Django

Code

Ticket #5892: 5892.diff

File 5892.diff, 0.6 kB (added by arien <regexbot@gmail.com>, 1 year ago)

Correct the two occurances of "Handle" that should be "Hand", now as a .diff *sigh*

  • docs/custom_model_fields.txt

    old new  
    233233metaclass. This ensures that the ``to_python()`` method, documented below_, 
    234234will always be called when the attribute is initialised. 
    235235 
    236 Our ``HandleField`` class now looks like this:: 
     236Our ``HandField`` class now looks like this:: 
    237237 
    238     class HandleField(models.Field): 
     238    class HandField(models.Field): 
    239239        __metaclass__ = models.SubfieldBase 
    240240 
    241241        def __init__(self, *args, **kwargs):