Revision 326c3ec8 snf-cyclades-app/synnefo/quotas/util.py

b/snf-cyclades-app/synnefo/quotas/util.py
33 33

  
34 34
from django.db.models import Sum, Count, Q
35 35

  
36
from synnefo.db.models import VirtualMachine, Network, FloatingIP
36
from synnefo.db.models import VirtualMachine, Network, IPAddress
37 37
from synnefo.quotas import Quotaholder, ASTAKOS_TOKEN
38 38

  
39 39

  
......
43 43

  
44 44
    vms = VirtualMachine.objects.filter(deleted=False)
45 45
    networks = Network.objects.filter(deleted=False)
46
    floating_ips = FloatingIP.objects.filter(deleted=False)
46
    floating_ips = IPAddress.objects.filter(deleted=False)
47 47

  
48 48
    if user is not None:
49 49
        vms = vms.filter(userid=user)

Also available in: Unified diff