12345678910111213141516171819202122232425262728293031323334 |
- from __future__ import unicode_literals
- from django.db import models
- from coin.configuration.models import Configuration
- class SimpleDSL(Configuration):
- """Very simple DSL model, mostly to demonstrate the use of the generic
- functionality of COIN. There is no real configuration backend, and no
- authentication data. But this still allows to track the phone number
- and IP addresses of subscribers, which may be useful for "white label"
- DSL reselling.
- """
- class Meta:
- verbose_name = 'DSL line'
-
-
-
-
-
-
- phone_number = models.CharField(max_length=20,
- verbose_name='phone number',
- help_text="Phone number associated to the DSL line")
-
- def __unicode__(self):
- return self.phone_number
- def subnet_event(self):
-
- pass
|