Changeset 6433 for trunk


Ignore:
Timestamp:
Dec 10, 2008, 7:06:51 PM (16 years ago)
Author:
RIck van der Zwet
Message:

Forgotton function fixes

Location:
trunk/exodus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/forms.py

    r6432 r6433  
    11from django import forms
    22from exodus.models import Node
    3 from exodus.wllogic import free_master_ip, free_interlinkip, add_interlinkip
     3from exodus.wllogic import free_master_ip, free_interlink_ip, add_interlink_ip
    44from exodus.contrib import ReadOnlyWidget
    55
  • trunk/exodus/templatetags/network.py

    r6357 r6433  
    1010                self.subnet = subnet
    1111        def render(self, context):
    12                 return (wllogic.getNetwork(resolve_variable(self.address, context), \
     12                return (wllogic.get_network(resolve_variable(self.address, context), \
    1313                resolve_variable(self.subnet,context)))
    1414
     
    1818                self.subnet = subnet
    1919        def render(self, context):
    20                 return (wllogic.getBroadcast(resolve_variable(self.address, context), \
     20                return (wllogic.get_broadcast(resolve_variable(self.address, context), \
    2121                resolve_variable(self.subnet,context)))
    2222
     
    4343@register.filter
    4444def subnet(value):
    45         return wllogic.getSubnet(value)
     45        return wllogic.get_subnet(value)
Note: See TracChangeset for help on using the changeset viewer.