Hi folks,
I'm trying to iterate through fields as they are written down within my model:
currently I'm using this:
def attrs(self):
for attr, value in self.__dict__.iteritems():
yield attr, value
but the order seems pretty much random :(
Any ideas?