Changeset 6281
- Timestamp:
- Sep 15, 2008, 7:21:50 PM (16 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/README
r6229 r6281 7 7 http://code.google.com/p/django-command-extensions/ 8 8 9 Add 'django_extensions' to settings.py 10 11 For compatibility with djangotrunk: 12 In models.py replace maxlength by max_length 9 Add 'extensions' to settings.py 13 10 14 11 Using the djangotrunk execute: -
exodus/models.py
r6257 r6281 94 94 return "%s:%s" % (self.node.name, self.iface) 95 95 96 class InterfaceAlias(models.Model): 97 iface = models.ForeignKey(Interface,related_name='child') 98 ip = models.IPAddressField() 99 netmask = models.IntegerField(default=30) 100 shortdesc = models.CharField(blank=True, max_length=10) 101 desc = models.CharField(blank=True, max_length=100) 102 linkAlias = models.ForeignKey('self', blank=True, null=True) 103 link = models.ForeignKey(Interface, blank=True, null=True) 104 105 def __str__(self): 106 return "Alias %s" % (self.iface) 107 96 108 class PublicAP(models.Model): 97 109 iface = models.ForeignKey(Interface)
Note:
See TracChangeset
for help on using the changeset viewer.