oxdata/poster/models.py

18 lines
457 B
Python
Raw Normal View History

2009-07-13 12:32:01 +00:00
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import os.path
2009-07-13 08:09:58 +00:00
from django.db import models
2009-07-13 12:32:01 +00:00
from django.db.models import Q
from django.contrib.auth.models import User
from oxdata.lookup.models import MovieId
class Poster(models.Model):
created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)
movie_id = models.ForeignKey(MovieId, related_name='poster')
url = models.CharField(max_length=255)
2009-07-13 08:09:58 +00:00
2009-07-13 14:44:09 +00:00