Changes between Initial Version and Version 1 of Ticket #28920


Ignore:
Timestamp:
Dec 13, 2017, 8:49:45 AM (7 years ago)
Author:
Michał Bońkowski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28920 – Description

    initial v1  
    22
    33{{{
    4 class MyManager(models.Manager):
    5     use_in_migrations = False
    6 
    74class MyModel(models.Model):
    85    my_field = models.BooleanField()
    96
    10     class Meta:
    11         default_manager_name = 'my_objects'
    12 
    13     my_objects = MyManager()
     7    my_objects = models.Manager()
    148}}}
    159
Back to Top