21 lines
527 B
Python
21 lines
527 B
Python
|
"""Twitter settings models."""
|
||
|
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
import logging
|
||
|
|
||
|
from django.db import models
|
||
|
|
||
|
|
||
|
log = logging.getLogger('twitter.models')
|
||
|
|
||
|
|
||
|
class TwitterClient(models.Model):
|
||
|
|
||
|
"""Track twitter settings and similar."""
|
||
|
|
||
|
since_id = models.PositiveIntegerField()
|
||
|
output_channel = models.CharField(max_length=200, default='', blank=True)
|
||
|
oauth_token = models.CharField(max_length=256, default='', blank=True)
|
||
|
oauth_token_secret = models.CharField(max_length=256, default='', blank=True)
|