mezzanine_events/models.py
def save(self, *args, **kwargs):
        """
        Set the initial ordering value.
        """
        if self.order is None:
            self.order = EventCategory.objects.filter(order__isnull=False).count()
        super(EventCategory, self).save(*args, **kwargs)

        Set the initial ordering value.
        
Set the initial ordering value.
Set the initial ordering value .
def save(self, *args, **kwargs):
        if self.order is None:
            self.order = EventCategory.objects.filter(order__isnull=False).count()
        super(EventCategory, self).save(*args, **kwargs)
def save ( self , * args , ** kwargs ) : if self . order is None : self . order = EventCategory . objects . filter ( order__isnull = False ) . count ( ) super ( EventCategory , self ) . save ( * args , ** kwargs )
Set the initial ordering value.
Set the initial ordering value .
"""
        Set the initial ordering value.
        """
self