- Timestamp:
- Dec 10, 2008, 7:06:51 PM (16 years ago)
- Location:
- trunk/exodus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exodus/forms.py
r6432 r6433 1 1 from django import forms 2 2 from exodus.models import Node 3 from exodus.wllogic import free_master_ip, free_interlink ip, add_interlinkip3 from exodus.wllogic import free_master_ip, free_interlink_ip, add_interlink_ip 4 4 from exodus.contrib import ReadOnlyWidget 5 5 -
trunk/exodus/templatetags/network.py
r6357 r6433 10 10 self.subnet = subnet 11 11 def render(self, context): 12 return (wllogic.get Network(resolve_variable(self.address, context), \12 return (wllogic.get_network(resolve_variable(self.address, context), \ 13 13 resolve_variable(self.subnet,context))) 14 14 … … 18 18 self.subnet = subnet 19 19 def render(self, context): 20 return (wllogic.get Broadcast(resolve_variable(self.address, context), \20 return (wllogic.get_broadcast(resolve_variable(self.address, context), \ 21 21 resolve_variable(self.subnet,context))) 22 22 … … 43 43 @register.filter 44 44 def subnet(value): 45 return wllogic.get Subnet(value)45 return wllogic.get_subnet(value)
Note:
See TracChangeset
for help on using the changeset viewer.