Changes between Version 8 and Version 9 of DataModelPitfalls


Ignore:
Timestamp:
10/04/2005 01:32:10 PM (9 years ago)
Author:
kyrrigle@…
Comment:

module_constants needs to be in the meta class

Legend:

Unmodified
Added
Removed
Modified
  • DataModelPitfalls

    v8 v9  
    4242
    4343class Something(meta.Model):
    44     module_constants = {
    45         'md5': md5
    46     }
     44    class META:
     45        module_constants = {
     46            'md5': md5
     47        }
    4748    def func(self, parm):
    4849          md5.new()
Back to Top