|
@ -15,14 +15,11 @@ |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
import socket |
|
|
import socket |
|
|
from PIL import Image |
|
|
|
|
|
from struct import pack, unpack |
|
|
|
|
|
from zlib import compress, decompress |
|
|
|
|
|
|
|
|
|
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
from django.contrib.auth.models import User |
|
|
from django.contrib.auth.models import User |
|
|
from django.db import models |
|
|
from django.db import models |
|
|
|
|
|
|
|
|
|
|
|
from django.db.models import signals |
|
|
from django.conf import settings |
|
|
from django.conf import settings |
|
|
|
|
|
|
|
|
from mmobjects import * |
|
|
from mmobjects import * |
|
@ -405,8 +402,6 @@ class MumbleUser( models.Model ): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from django.db.models import signals |
|
|
|
|
|
|
|
|
|
|
|
signals.pre_delete.connect( Mumble.pre_delete_listener, sender=Mumble ); |
|
|
signals.pre_delete.connect( Mumble.pre_delete_listener, sender=Mumble ); |
|
|
signals.pre_delete.connect( MumbleUser.pre_delete_listener, sender=MumbleUser ); |
|
|
signals.pre_delete.connect( MumbleUser.pre_delete_listener, sender=MumbleUser ); |
|
|
|
|
|
|
|
|