# -*- coding: utf-8 -*-

from django.db import models

class Model(models):
	class Meta:
		abstract = True

	def __repr__(self):
		fields = self._meta.get_fields()
		buf = "<%s"%(self.__class__.__name__)
		buf += "\n"

		for field in fields:
			if not field.concrete:
				continue

			buf += "\t%s: %s"%(field.name, getattr(self, field.name))
			buf += "\n"

		buf += ">"

		return buf

setattr(models, "Model", Model)

# -*- coding: utf-8 -*-

from django.db import models
from django.conf import settings

class Model(models):
	class Meta:
		abstract = True

	def __repr__(self):
		fields = self._meta.get_fields()
		buf = "<%s"%(self.__class__.__name__)
		buf += "\n"

		for field in fields:
			if not field.concrete:
				continue

			buf += "\t%s: %s"%(field.name, getattr(self, field.name))
			buf += "\n"

		buf += ">"

		return buf


if getattr(settings, "MODEL_REPR_MONEY_PATCHING", True):
	setattr(models, "Model", Model)

Update models.py