| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # coding: utf-8 |
||
| 6 | class Instapush(Services): |
||
| 7 | """ |
||
| 8 | |||
| 9 | wallabag model to be adapted for the new service |
||
| 10 | to store url in your account |
||
| 11 | |||
| 12 | """ |
||
| 13 | app_id = models.CharField(max_length=255) |
||
| 14 | app_secret = models.CharField(max_length=255) |
||
| 15 | event_name = models.CharField(max_length=255) |
||
| 16 | tracker_name = models.CharField(max_length=80) |
||
| 17 | trigger = models.ForeignKey('TriggerService') |
||
| 18 | |||
| 19 | class Meta: |
||
| 20 | app_label = 'django_th' |
||
| 21 | db_table = 'django_th_instapush' |
||
| 22 | |||
| 23 | def __str__(self): |
||
| 24 | return self.name |
||
| 25 | |||
| 26 | def show(self): |
||
| 27 | return "My Instapush %s" % self.name |
||
| 28 |