Ticket #11137: proxy-model.patch

File proxy-model.patch, 470 bytes (added by Erik Karulf, 15 years ago)

Proposed solution

  • docs/topics/db/models.txt

     
    11011101containing the new managers and inherit that after the primary base class::
    11021102
    11031103    # Create an abstract class for the new manager.
    1104     class ExtraManagers:
     1104    class ExtraManagers(models.Model):
    11051105        secondary = NewManager()
    11061106
    11071107        class Meta:
Back to Top