from django.db import models
from twitteruser.views import TwitterUser
from django.utils import timezone



# Create your models here.
class Tweet(models.Model):
    text = models.CharField(max_length=140)
    date_posted = models.DateTimeField(default=timezone.now)
    user = models.ForeignKey(TwitterUser, on_delete=models.CASCADE)
