<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_auth_group(sender, instance, created, **kwargs):
 """ Creates the AuthGroup model when a group is created """

    if created:
        AuthGroup.objects.create(group=instance)