2009-09-07 15:43:42 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from south.db import db
|
|
|
|
from django.db import models
|
2009-12-31 15:04:32 +00:00
|
|
|
from backend.models import *
|
2009-09-07 15:43:42 +00:00
|
|
|
|
|
|
|
class Migration:
|
|
|
|
|
|
|
|
def forwards(self, orm):
|
|
|
|
|
|
|
|
# Adding model 'Trivia'
|
|
|
|
db.create_table('backend_trivia', (
|
|
|
|
('id', orm['backend.Trivia:id']),
|
|
|
|
('trivia', orm['backend.Trivia:trivia']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Trivia:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('position', orm['backend.Trivia:position']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('movie', orm['backend.Trivia:movie']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Trivia'])
|
|
|
|
|
|
|
|
# Adding model 'AlternativeTitle'
|
|
|
|
db.create_table('backend_alternativetitle', (
|
|
|
|
('id', orm['backend.AlternativeTitle:id']),
|
|
|
|
('movie', orm['backend.AlternativeTitle:movie']),
|
|
|
|
('title', orm['backend.AlternativeTitle:title']),
|
|
|
|
('type', orm['backend.AlternativeTitle:type']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.AlternativeTitle:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['AlternativeTitle'])
|
|
|
|
|
|
|
|
# Adding model 'MovieLanguage'
|
|
|
|
db.create_table('backend_movielanguage', (
|
|
|
|
('id', orm['backend.MovieLanguage:id']),
|
|
|
|
('movie', orm['backend.MovieLanguage:movie']),
|
|
|
|
('language', orm['backend.MovieLanguage:language']),
|
|
|
|
('position', orm['backend.MovieLanguage:position']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.MovieLanguage:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['MovieLanguage'])
|
|
|
|
|
|
|
|
# Adding model 'Movie'
|
|
|
|
db.create_table('backend_movie', (
|
|
|
|
('id', orm['backend.Movie:id']),
|
|
|
|
('created', orm['backend.Movie:created']),
|
|
|
|
('modified', orm['backend.Movie:modified']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('available', orm['backend.Movie:available']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('movieId', orm['backend.Movie:movieId']),
|
|
|
|
('oxdbId', orm['backend.Movie:oxdbId']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('imdb', orm['backend.Movie:imdb']),
|
|
|
|
('oxdb', orm['backend.Movie:oxdb']),
|
|
|
|
('rights_level', orm['backend.Movie:rights_level']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('title', orm['backend.Movie:title']),
|
|
|
|
('year', orm['backend.Movie:year']),
|
|
|
|
('runtime', orm['backend.Movie:runtime']),
|
|
|
|
('release_date', orm['backend.Movie:release_date']),
|
|
|
|
('tagline', orm['backend.Movie:tagline']),
|
|
|
|
('plot', orm['backend.Movie:plot']),
|
|
|
|
('plot_outline', orm['backend.Movie:plot_outline']),
|
|
|
|
('rating', orm['backend.Movie:rating']),
|
|
|
|
('votes', orm['backend.Movie:votes']),
|
|
|
|
('budget', orm['backend.Movie:budget']),
|
|
|
|
('gross', orm['backend.Movie:gross']),
|
|
|
|
('profit', orm['backend.Movie:profit']),
|
|
|
|
('series_imdb', orm['backend.Movie:series_imdb']),
|
|
|
|
('series_title', orm['backend.Movie:series_title']),
|
|
|
|
('episode_title', orm['backend.Movie:episode_title']),
|
|
|
|
('season', orm['backend.Movie:season']),
|
|
|
|
('episode', orm['backend.Movie:episode']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('directors', orm['backend.Movie:directors']),
|
|
|
|
('writers', orm['backend.Movie:writers']),
|
|
|
|
('editors', orm['backend.Movie:editors']),
|
|
|
|
('producers', orm['backend.Movie:producers']),
|
|
|
|
('cinematographers', orm['backend.Movie:cinematographers']),
|
|
|
|
('cast', orm['backend.Movie:cast']),
|
|
|
|
('alternative_titles', orm['backend.Movie:alternative_titles']),
|
|
|
|
('genres', orm['backend.Movie:genres']),
|
|
|
|
('keywords', orm['backend.Movie:keywords']),
|
|
|
|
('countries', orm['backend.Movie:countries']),
|
|
|
|
('languages', orm['backend.Movie:languages']),
|
|
|
|
('trivia', orm['backend.Movie:trivia']),
|
|
|
|
('locations', orm['backend.Movie:locations']),
|
|
|
|
('connections', orm['backend.Movie:connections']),
|
|
|
|
('reviews', orm['backend.Movie:reviews']),
|
|
|
|
('stream128', orm['backend.Movie:stream128']),
|
|
|
|
('stream320', orm['backend.Movie:stream320']),
|
|
|
|
('stream640', orm['backend.Movie:stream640']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('scene_height', orm['backend.Movie:scene_height']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Movie'])
|
|
|
|
|
|
|
|
# Adding model 'Archive'
|
|
|
|
db.create_table('backend_archive', (
|
|
|
|
('id', orm['backend.Archive:id']),
|
|
|
|
('created', orm['backend.Archive:created']),
|
|
|
|
('modified', orm['backend.Archive:modified']),
|
|
|
|
('name', orm['backend.Archive:name']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('public', orm['backend.Archive:public']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Archive'])
|
|
|
|
|
|
|
|
# Adding model 'ArchiveFile'
|
|
|
|
db.create_table('backend_archivefile', (
|
|
|
|
('id', orm['backend.ArchiveFile:id']),
|
|
|
|
('created', orm['backend.ArchiveFile:created']),
|
|
|
|
('modified', orm['backend.ArchiveFile:modified']),
|
|
|
|
('archive', orm['backend.ArchiveFile:archive']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('file', orm['backend.ArchiveFile:file']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('path', orm['backend.ArchiveFile:path']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['ArchiveFile'])
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
# Adding model 'MovieOxdb'
|
|
|
|
db.create_table('backend_movieoxdb', (
|
|
|
|
('id', orm['backend.MovieOxdb:id']),
|
|
|
|
('created', orm['backend.MovieOxdb:created']),
|
|
|
|
('modified', orm['backend.MovieOxdb:modified']),
|
|
|
|
('title', orm['backend.MovieOxdb:title']),
|
|
|
|
('year', orm['backend.MovieOxdb:year']),
|
|
|
|
('runtime', orm['backend.MovieOxdb:runtime']),
|
|
|
|
('release_date', orm['backend.MovieOxdb:release_date']),
|
|
|
|
('tagline', orm['backend.MovieOxdb:tagline']),
|
|
|
|
('plot', orm['backend.MovieOxdb:plot']),
|
|
|
|
('plot_outline', orm['backend.MovieOxdb:plot_outline']),
|
|
|
|
('rating', orm['backend.MovieOxdb:rating']),
|
|
|
|
('votes', orm['backend.MovieOxdb:votes']),
|
|
|
|
('budget', orm['backend.MovieOxdb:budget']),
|
|
|
|
('gross', orm['backend.MovieOxdb:gross']),
|
|
|
|
('profit', orm['backend.MovieOxdb:profit']),
|
|
|
|
('series_imdb', orm['backend.MovieOxdb:series_imdb']),
|
|
|
|
('series_title', orm['backend.MovieOxdb:series_title']),
|
|
|
|
('episode_title', orm['backend.MovieOxdb:episode_title']),
|
|
|
|
('season', orm['backend.MovieOxdb:season']),
|
|
|
|
('episode', orm['backend.MovieOxdb:episode']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['MovieOxdb'])
|
|
|
|
|
2009-09-07 15:43:42 +00:00
|
|
|
# Adding model 'Language'
|
|
|
|
db.create_table('backend_language', (
|
|
|
|
('id', orm['backend.Language:id']),
|
|
|
|
('name', orm['backend.Language:name']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Language'])
|
|
|
|
|
|
|
|
# Adding model 'ReviewWhitelist'
|
|
|
|
db.create_table('backend_reviewwhitelist', (
|
|
|
|
('id', orm['backend.ReviewWhitelist:id']),
|
|
|
|
('name', orm['backend.ReviewWhitelist:name']),
|
|
|
|
('url', orm['backend.ReviewWhitelist:url']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['ReviewWhitelist'])
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
# Adding model 'Layer'
|
|
|
|
db.create_table('backend_layer', (
|
|
|
|
('id', orm['backend.Layer:id']),
|
|
|
|
('created', orm['backend.Layer:created']),
|
|
|
|
('modified', orm['backend.Layer:modified']),
|
|
|
|
('user', orm['backend.Layer:user']),
|
|
|
|
('movie', orm['backend.Layer:movie']),
|
|
|
|
('time_in', orm['backend.Layer:time_in']),
|
|
|
|
('time_out', orm['backend.Layer:time_out']),
|
|
|
|
('type', orm['backend.Layer:type']),
|
|
|
|
('value', orm['backend.Layer:value']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Layer'])
|
|
|
|
|
2009-09-07 15:43:42 +00:00
|
|
|
# Adding model 'MovieSort'
|
|
|
|
db.create_table('backend_moviesort', (
|
|
|
|
('movie', orm['backend.MovieSort:movie']),
|
|
|
|
('title', orm['backend.MovieSort:title']),
|
|
|
|
('director', orm['backend.MovieSort:director']),
|
|
|
|
('country', orm['backend.MovieSort:country']),
|
|
|
|
('year', orm['backend.MovieSort:year']),
|
|
|
|
('producer', orm['backend.MovieSort:producer']),
|
|
|
|
('writer', orm['backend.MovieSort:writer']),
|
|
|
|
('editor', orm['backend.MovieSort:editor']),
|
|
|
|
('cinematographer', orm['backend.MovieSort:cinematographer']),
|
|
|
|
('language', orm['backend.MovieSort:language']),
|
|
|
|
('runtime', orm['backend.MovieSort:runtime']),
|
|
|
|
('keywords', orm['backend.MovieSort:keywords']),
|
|
|
|
('genre', orm['backend.MovieSort:genre']),
|
|
|
|
('cast', orm['backend.MovieSort:cast']),
|
|
|
|
('summary', orm['backend.MovieSort:summary']),
|
|
|
|
('trivia', orm['backend.MovieSort:trivia']),
|
|
|
|
('connections', orm['backend.MovieSort:connections']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('rating', orm['backend.MovieSort:rating']),
|
|
|
|
('votes', orm['backend.MovieSort:votes']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('scenes', orm['backend.MovieSort:scenes']),
|
|
|
|
('words', orm['backend.MovieSort:words']),
|
|
|
|
('wpm', orm['backend.MovieSort:wpm']),
|
|
|
|
('risk', orm['backend.MovieSort:risk']),
|
|
|
|
('movieId', orm['backend.MovieSort:movieId']),
|
|
|
|
('duration', orm['backend.MovieSort:duration']),
|
|
|
|
('resolution', orm['backend.MovieSort:resolution']),
|
|
|
|
('aspectratio', orm['backend.MovieSort:aspectratio']),
|
|
|
|
('bitrate', orm['backend.MovieSort:bitrate']),
|
|
|
|
('pixels', orm['backend.MovieSort:pixels']),
|
|
|
|
('filename', orm['backend.MovieSort:filename']),
|
|
|
|
('files', orm['backend.MovieSort:files']),
|
|
|
|
('size', orm['backend.MovieSort:size']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['MovieSort'])
|
|
|
|
|
|
|
|
# Adding model 'File'
|
|
|
|
db.create_table('backend_file', (
|
|
|
|
('id', orm['backend.File:id']),
|
|
|
|
('created', orm['backend.File:created']),
|
|
|
|
('modified', orm['backend.File:modified']),
|
|
|
|
('oshash', orm['backend.File:oshash']),
|
|
|
|
('sha1', orm['backend.File:sha1']),
|
|
|
|
('md5', orm['backend.File:md5']),
|
|
|
|
('movie', orm['backend.File:movie']),
|
|
|
|
('computed_path', orm['backend.File:computed_path']),
|
|
|
|
('size', orm['backend.File:size']),
|
|
|
|
('duration', orm['backend.File:duration']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('is_video', orm['backend.File:is_video']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('video_codec', orm['backend.File:video_codec']),
|
|
|
|
('pixel_format', orm['backend.File:pixel_format']),
|
|
|
|
('width', orm['backend.File:width']),
|
|
|
|
('height', orm['backend.File:height']),
|
|
|
|
('pixel_aspect_ratio', orm['backend.File:pixel_aspect_ratio']),
|
|
|
|
('display_aspect_ratio', orm['backend.File:display_aspect_ratio']),
|
|
|
|
('framerate', orm['backend.File:framerate']),
|
|
|
|
('audio_codec', orm['backend.File:audio_codec']),
|
|
|
|
('samplerate', orm['backend.File:samplerate']),
|
|
|
|
('channels', orm['backend.File:channels']),
|
|
|
|
('bpp', orm['backend.File:bpp']),
|
|
|
|
('pixels', orm['backend.File:pixels']),
|
|
|
|
('part', orm['backend.File:part']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('available', orm['backend.File:available']),
|
|
|
|
('stream128', orm['backend.File:stream128']),
|
|
|
|
('stream320', orm['backend.File:stream320']),
|
|
|
|
('stream640', orm['backend.File:stream640']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['File'])
|
|
|
|
|
|
|
|
# Adding model 'Country'
|
|
|
|
db.create_table('backend_country', (
|
|
|
|
('id', orm['backend.Country:id']),
|
|
|
|
('name', orm['backend.Country:name']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Country'])
|
|
|
|
|
|
|
|
# Adding model 'Genre'
|
|
|
|
db.create_table('backend_genre', (
|
|
|
|
('id', orm['backend.Genre:id']),
|
|
|
|
('name', orm['backend.Genre:name']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Genre:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Genre'])
|
|
|
|
|
|
|
|
# Adding model 'MovieCountry'
|
|
|
|
db.create_table('backend_moviecountry', (
|
|
|
|
('id', orm['backend.MovieCountry:id']),
|
|
|
|
('movie', orm['backend.MovieCountry:movie']),
|
|
|
|
('country', orm['backend.MovieCountry:country']),
|
|
|
|
('position', orm['backend.MovieCountry:position']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.MovieCountry:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['MovieCountry'])
|
|
|
|
|
|
|
|
# Adding model 'Review'
|
|
|
|
db.create_table('backend_review', (
|
|
|
|
('id', orm['backend.Review:id']),
|
|
|
|
('movie', orm['backend.Review:movie']),
|
|
|
|
('title', orm['backend.Review:title']),
|
|
|
|
('url', orm['backend.Review:url']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Review:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Review'])
|
|
|
|
|
|
|
|
# Adding model 'Subtitle'
|
|
|
|
db.create_table('backend_subtitle', (
|
|
|
|
('id', orm['backend.Subtitle:id']),
|
|
|
|
('created', orm['backend.Subtitle:created']),
|
|
|
|
('modified', orm['backend.Subtitle:modified']),
|
|
|
|
('user', orm['backend.Subtitle:user']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('file', orm['backend.Subtitle:file']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('language', orm['backend.Subtitle:language']),
|
|
|
|
('srt', orm['backend.Subtitle:srt']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Subtitle'])
|
|
|
|
|
|
|
|
# Adding model 'Cast'
|
|
|
|
db.create_table('backend_cast', (
|
|
|
|
('id', orm['backend.Cast:id']),
|
|
|
|
('movie', orm['backend.Cast:movie']),
|
|
|
|
('person', orm['backend.Cast:person']),
|
|
|
|
('role', orm['backend.Cast:role']),
|
|
|
|
('character', orm['backend.Cast:character']),
|
|
|
|
('position', orm['backend.Cast:position']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Cast:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Cast'])
|
|
|
|
|
|
|
|
# Adding model 'Person'
|
|
|
|
db.create_table('backend_person', (
|
|
|
|
('id', orm['backend.Person:id']),
|
|
|
|
('name', orm['backend.Person:name']),
|
|
|
|
('imdbId', orm['backend.Person:imdbId']),
|
|
|
|
('name_sort', orm['backend.Person:name_sort']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Person'])
|
|
|
|
|
|
|
|
# Adding model 'Keyword'
|
|
|
|
db.create_table('backend_keyword', (
|
|
|
|
('id', orm['backend.Keyword:id']),
|
|
|
|
('name', orm['backend.Keyword:name']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Keyword:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Keyword'])
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
# Adding model 'MovieImdb'
|
|
|
|
db.create_table('backend_movieimdb', (
|
|
|
|
('id', orm['backend.MovieImdb:id']),
|
|
|
|
('created', orm['backend.MovieImdb:created']),
|
|
|
|
('modified', orm['backend.MovieImdb:modified']),
|
|
|
|
('imdbId', orm['backend.MovieImdb:imdbId']),
|
|
|
|
('title', orm['backend.MovieImdb:title']),
|
|
|
|
('year', orm['backend.MovieImdb:year']),
|
|
|
|
('runtime', orm['backend.MovieImdb:runtime']),
|
|
|
|
('release_date', orm['backend.MovieImdb:release_date']),
|
|
|
|
('tagline', orm['backend.MovieImdb:tagline']),
|
|
|
|
('plot', orm['backend.MovieImdb:plot']),
|
|
|
|
('plot_outline', orm['backend.MovieImdb:plot_outline']),
|
|
|
|
('rating', orm['backend.MovieImdb:rating']),
|
|
|
|
('votes', orm['backend.MovieImdb:votes']),
|
|
|
|
('budget', orm['backend.MovieImdb:budget']),
|
|
|
|
('gross', orm['backend.MovieImdb:gross']),
|
|
|
|
('profit', orm['backend.MovieImdb:profit']),
|
|
|
|
('series_imdb', orm['backend.MovieImdb:series_imdb']),
|
|
|
|
('series_title', orm['backend.MovieImdb:series_title']),
|
|
|
|
('episode_title', orm['backend.MovieImdb:episode_title']),
|
|
|
|
('season', orm['backend.MovieImdb:season']),
|
|
|
|
('episode', orm['backend.MovieImdb:episode']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['MovieImdb'])
|
|
|
|
|
2009-09-07 15:43:42 +00:00
|
|
|
# Adding model 'List'
|
|
|
|
db.create_table('backend_list', (
|
|
|
|
('id', orm['backend.List:id']),
|
|
|
|
('created', orm['backend.List:created']),
|
|
|
|
('modified', orm['backend.List:modified']),
|
|
|
|
('user', orm['backend.List:user']),
|
|
|
|
('name', orm['backend.List:name']),
|
|
|
|
('public', orm['backend.List:public']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['List'])
|
|
|
|
|
|
|
|
# Adding model 'Connection'
|
|
|
|
db.create_table('backend_connection', (
|
|
|
|
('id', orm['backend.Connection:id']),
|
|
|
|
('subject', orm['backend.Connection:subject']),
|
|
|
|
('relation', orm['backend.Connection:relation']),
|
|
|
|
('object', orm['backend.Connection:object']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Connection:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Connection'])
|
|
|
|
|
|
|
|
# Adding model 'Location'
|
|
|
|
db.create_table('backend_location', (
|
|
|
|
('id', orm['backend.Location:id']),
|
|
|
|
('name', orm['backend.Location:name']),
|
2009-12-31 15:04:32 +00:00
|
|
|
('manual', orm['backend.Location:manual']),
|
2009-09-07 15:43:42 +00:00
|
|
|
('lat_sw', orm['backend.Location:lat_sw']),
|
|
|
|
('lng_sw', orm['backend.Location:lng_sw']),
|
|
|
|
('lat_ne', orm['backend.Location:lat_ne']),
|
|
|
|
('lng_ne', orm['backend.Location:lng_ne']),
|
|
|
|
('lat_center', orm['backend.Location:lat_center']),
|
|
|
|
('lng_center', orm['backend.Location:lng_center']),
|
|
|
|
('area', orm['backend.Location:area']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['Location'])
|
|
|
|
|
|
|
|
# Adding model 'MovieFind'
|
|
|
|
db.create_table('backend_moviefind', (
|
|
|
|
('movie', orm['backend.MovieFind:movie']),
|
|
|
|
('all', orm['backend.MovieFind:all']),
|
|
|
|
('title', orm['backend.MovieFind:title']),
|
|
|
|
('director', orm['backend.MovieFind:director']),
|
|
|
|
('country', orm['backend.MovieFind:country']),
|
|
|
|
('year', orm['backend.MovieFind:year']),
|
|
|
|
('language', orm['backend.MovieFind:language']),
|
|
|
|
('writer', orm['backend.MovieFind:writer']),
|
|
|
|
('producer', orm['backend.MovieFind:producer']),
|
|
|
|
('editor', orm['backend.MovieFind:editor']),
|
|
|
|
('cinematographer', orm['backend.MovieFind:cinematographer']),
|
|
|
|
('cast', orm['backend.MovieFind:cast']),
|
|
|
|
('genre', orm['backend.MovieFind:genre']),
|
|
|
|
('keywords', orm['backend.MovieFind:keywords']),
|
|
|
|
('summary', orm['backend.MovieFind:summary']),
|
|
|
|
('trivia', orm['backend.MovieFind:trivia']),
|
|
|
|
('locations', orm['backend.MovieFind:locations']),
|
|
|
|
('filename', orm['backend.MovieFind:filename']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['MovieFind'])
|
|
|
|
|
|
|
|
# Adding model 'ListItem'
|
|
|
|
db.create_table('backend_listitem', (
|
|
|
|
('id', orm['backend.ListItem:id']),
|
|
|
|
('created', orm['backend.ListItem:created']),
|
|
|
|
('modified', orm['backend.ListItem:modified']),
|
|
|
|
('list', orm['backend.ListItem:list']),
|
|
|
|
('movie', orm['backend.ListItem:movie']),
|
|
|
|
))
|
|
|
|
db.send_create_signal('backend', ['ListItem'])
|
|
|
|
|
|
|
|
# Adding ManyToManyField 'Location.movies'
|
|
|
|
db.create_table('backend_location_movies', (
|
|
|
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
|
|
|
('location', models.ForeignKey(orm.Location, null=False)),
|
|
|
|
('movie', models.ForeignKey(orm.Movie, null=False))
|
|
|
|
))
|
|
|
|
|
|
|
|
# Adding ManyToManyField 'Archive.users'
|
|
|
|
db.create_table('backend_archive_users', (
|
|
|
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
|
|
|
('archive', models.ForeignKey(orm.Archive, null=False)),
|
|
|
|
('user', models.ForeignKey(orm['auth.User'], null=False))
|
|
|
|
))
|
|
|
|
|
|
|
|
# Adding ManyToManyField 'Keyword.movies'
|
|
|
|
db.create_table('backend_keyword_movies', (
|
|
|
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
|
|
|
('keyword', models.ForeignKey(orm.Keyword, null=False)),
|
|
|
|
('movie', models.ForeignKey(orm.Movie, null=False))
|
|
|
|
))
|
|
|
|
|
|
|
|
# Adding ManyToManyField 'Genre.movies'
|
|
|
|
db.create_table('backend_genre_movies', (
|
|
|
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
|
|
|
('genre', models.ForeignKey(orm.Genre, null=False)),
|
|
|
|
('movie', models.ForeignKey(orm.Movie, null=False))
|
|
|
|
))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def backwards(self, orm):
|
|
|
|
|
|
|
|
# Deleting model 'Trivia'
|
|
|
|
db.delete_table('backend_trivia')
|
|
|
|
|
|
|
|
# Deleting model 'AlternativeTitle'
|
|
|
|
db.delete_table('backend_alternativetitle')
|
|
|
|
|
|
|
|
# Deleting model 'MovieLanguage'
|
|
|
|
db.delete_table('backend_movielanguage')
|
|
|
|
|
|
|
|
# Deleting model 'Movie'
|
|
|
|
db.delete_table('backend_movie')
|
|
|
|
|
|
|
|
# Deleting model 'Archive'
|
|
|
|
db.delete_table('backend_archive')
|
|
|
|
|
|
|
|
# Deleting model 'ArchiveFile'
|
|
|
|
db.delete_table('backend_archivefile')
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
# Deleting model 'MovieOxdb'
|
|
|
|
db.delete_table('backend_movieoxdb')
|
|
|
|
|
2009-09-07 15:43:42 +00:00
|
|
|
# Deleting model 'Language'
|
|
|
|
db.delete_table('backend_language')
|
|
|
|
|
|
|
|
# Deleting model 'ReviewWhitelist'
|
|
|
|
db.delete_table('backend_reviewwhitelist')
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
# Deleting model 'Layer'
|
|
|
|
db.delete_table('backend_layer')
|
|
|
|
|
2009-09-07 15:43:42 +00:00
|
|
|
# Deleting model 'MovieSort'
|
|
|
|
db.delete_table('backend_moviesort')
|
|
|
|
|
|
|
|
# Deleting model 'File'
|
|
|
|
db.delete_table('backend_file')
|
|
|
|
|
|
|
|
# Deleting model 'Country'
|
|
|
|
db.delete_table('backend_country')
|
|
|
|
|
|
|
|
# Deleting model 'Genre'
|
|
|
|
db.delete_table('backend_genre')
|
|
|
|
|
|
|
|
# Deleting model 'MovieCountry'
|
|
|
|
db.delete_table('backend_moviecountry')
|
|
|
|
|
|
|
|
# Deleting model 'Review'
|
|
|
|
db.delete_table('backend_review')
|
|
|
|
|
|
|
|
# Deleting model 'Subtitle'
|
|
|
|
db.delete_table('backend_subtitle')
|
|
|
|
|
|
|
|
# Deleting model 'Cast'
|
|
|
|
db.delete_table('backend_cast')
|
|
|
|
|
|
|
|
# Deleting model 'Person'
|
|
|
|
db.delete_table('backend_person')
|
|
|
|
|
|
|
|
# Deleting model 'Keyword'
|
|
|
|
db.delete_table('backend_keyword')
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
# Deleting model 'MovieImdb'
|
|
|
|
db.delete_table('backend_movieimdb')
|
|
|
|
|
2009-09-07 15:43:42 +00:00
|
|
|
# Deleting model 'List'
|
|
|
|
db.delete_table('backend_list')
|
|
|
|
|
|
|
|
# Deleting model 'Connection'
|
|
|
|
db.delete_table('backend_connection')
|
|
|
|
|
|
|
|
# Deleting model 'Location'
|
|
|
|
db.delete_table('backend_location')
|
|
|
|
|
|
|
|
# Deleting model 'MovieFind'
|
|
|
|
db.delete_table('backend_moviefind')
|
|
|
|
|
|
|
|
# Deleting model 'ListItem'
|
|
|
|
db.delete_table('backend_listitem')
|
|
|
|
|
|
|
|
# Dropping ManyToManyField 'Location.movies'
|
|
|
|
db.delete_table('backend_location_movies')
|
|
|
|
|
|
|
|
# Dropping ManyToManyField 'Archive.users'
|
|
|
|
db.delete_table('backend_archive_users')
|
|
|
|
|
|
|
|
# Dropping ManyToManyField 'Keyword.movies'
|
|
|
|
db.delete_table('backend_keyword_movies')
|
|
|
|
|
|
|
|
# Dropping ManyToManyField 'Genre.movies'
|
|
|
|
db.delete_table('backend_genre_movies')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
models = {
|
|
|
|
'auth.group': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
|
|
|
|
'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
|
|
|
|
},
|
|
|
|
'auth.permission': {
|
|
|
|
'Meta': {'unique_together': "(('content_type', 'codename'),)"},
|
|
|
|
'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
|
|
|
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
|
|
|
|
},
|
|
|
|
'auth.user': {
|
|
|
|
'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
|
|
|
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
|
|
|
|
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
|
|
|
|
'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
|
|
|
|
'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
|
|
|
|
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
|
|
|
|
'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
|
|
|
|
'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
|
|
|
|
'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
|
|
|
|
},
|
|
|
|
'backend.alternativetitle': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'alternative_titles_all'", 'to': "orm['backend.Movie']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'title': ('django.db.models.fields.TextField', [], {}),
|
|
|
|
'type': ('django.db.models.fields.CharField', [], {'max_length': '1000'})
|
|
|
|
},
|
|
|
|
'backend.archive': {
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'public': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']"})
|
|
|
|
},
|
|
|
|
'backend.archivefile': {
|
2009-12-31 15:04:32 +00:00
|
|
|
'archive': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'files'", 'to': "orm['backend.Archive']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'file': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.File']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'path': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'blank': 'True'})
|
|
|
|
},
|
|
|
|
'backend.cast': {
|
2009-12-31 15:04:32 +00:00
|
|
|
'character': ('django.db.models.fields.CharField', [], {'max_length': '1000', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cast_relation'", 'to': "orm['backend.Movie']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Person']"}),
|
|
|
|
'position': ('django.db.models.fields.IntegerField', [], {}),
|
|
|
|
'role': ('django.db.models.fields.CharField', [], {'max_length': '200'})
|
|
|
|
},
|
|
|
|
'backend.connection': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'object': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'relation': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'subject': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'connections_all'", 'to': "orm['backend.Movie']"})
|
2009-09-07 15:43:42 +00:00
|
|
|
},
|
|
|
|
'backend.country': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'})
|
|
|
|
},
|
|
|
|
'backend.file': {
|
|
|
|
'audio_codec': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'available': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'bpp': ('django.db.models.fields.FloatField', [], {'default': '-1'}),
|
|
|
|
'channels': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'computed_path': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'blank': 'True'}),
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'display_aspect_ratio': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
|
|
|
|
'duration': ('django.db.models.fields.FloatField', [], {'default': '-1'}),
|
|
|
|
'framerate': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
|
|
|
|
'height': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'is_video': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'md5': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32', 'blank': 'True'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'files'", 'to': "orm['backend.Movie']"}),
|
|
|
|
'oshash': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '16', 'blank': 'True'}),
|
|
|
|
'part': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
|
|
|
|
'pixel_aspect_ratio': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
|
|
|
|
'pixel_format': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
|
|
|
|
'pixels': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
|
|
|
|
'samplerate': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'sha1': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40', 'blank': 'True'}),
|
|
|
|
'size': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'stream128': ('django.db.models.fields.files.FileField', [], {'default': 'None', 'max_length': '100'}),
|
|
|
|
'stream320': ('django.db.models.fields.files.FileField', [], {'default': 'None', 'max_length': '100'}),
|
|
|
|
'stream640': ('django.db.models.fields.files.FileField', [], {'default': 'None', 'max_length': '100'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'video_codec': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
|
|
|
|
'width': ('django.db.models.fields.IntegerField', [], {'default': '-1'})
|
|
|
|
},
|
|
|
|
'backend.genre': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'})
|
|
|
|
},
|
|
|
|
'backend.keyword': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'})
|
|
|
|
},
|
|
|
|
'backend.language': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'})
|
|
|
|
},
|
2009-12-31 15:04:32 +00:00
|
|
|
'backend.layer': {
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'time_in': ('django.db.models.fields.FloatField', [], {'default': '-1'}),
|
|
|
|
'time_out': ('django.db.models.fields.FloatField', [], {'default': '-1'}),
|
|
|
|
'type': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
|
|
|
|
'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
|
|
|
|
'value': ('django.db.models.fields.TextField', [], {})
|
|
|
|
},
|
2009-09-07 15:43:42 +00:00
|
|
|
'backend.list': {
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
|
|
|
|
'public': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
|
|
|
|
},
|
|
|
|
'backend.listitem': {
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'list': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.List']"}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Movie']"})
|
|
|
|
},
|
|
|
|
'backend.location': {
|
|
|
|
'area': ('django.db.models.fields.FloatField', [], {'default': '-1'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'lat_center': ('django.db.models.fields.FloatField', [], {'default': '0'}),
|
|
|
|
'lat_ne': ('django.db.models.fields.FloatField', [], {'default': '0'}),
|
|
|
|
'lat_sw': ('django.db.models.fields.FloatField', [], {'default': '0'}),
|
|
|
|
'lng_center': ('django.db.models.fields.FloatField', [], {'default': '0'}),
|
|
|
|
'lng_ne': ('django.db.models.fields.FloatField', [], {'default': '0'}),
|
|
|
|
'lng_sw': ('django.db.models.fields.FloatField', [], {'default': '0'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'})
|
|
|
|
},
|
|
|
|
'backend.movie': {
|
2009-12-31 15:04:32 +00:00
|
|
|
'alternative_titles': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'available': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'budget': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'cast': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'cinematographers': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'connections': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'countries': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'directors': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'editors': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'episode': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'episode_title': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'genres': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'gross': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'imdb': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'movie'", 'unique': 'True', 'null': 'True', 'to': "orm['backend.MovieImdb']"}),
|
|
|
|
'keywords': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'languages': ('fields.TupleField', [], {'default': '()'}),
|
|
|
|
'locations': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'movieId': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'oxdb': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'movie'", 'unique': 'True', 'null': 'True', 'to': "orm['backend.MovieOxdb']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'oxdbId': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '42', 'blank': 'True'}),
|
|
|
|
'plot': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'plot_outline': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'producers': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'profit': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'rating': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'release_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'reviews': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'rights_level': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'runtime': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'scene_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'season': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'series_imdb': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '7'}),
|
|
|
|
'series_title': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'stream128': ('django.db.models.fields.files.FileField', [], {'default': 'None', 'max_length': '100'}),
|
|
|
|
'stream320': ('django.db.models.fields.files.FileField', [], {'default': 'None', 'max_length': '100'}),
|
|
|
|
'stream640': ('django.db.models.fields.files.FileField', [], {'default': 'None', 'max_length': '100'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'tagline': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'title': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'trivia': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'votes': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'writers': ('fields.TupleField', [], {'default': '()'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'year': ('django.db.models.fields.CharField', [], {'max_length': '4'})
|
|
|
|
},
|
|
|
|
'backend.moviecountry': {
|
|
|
|
'country': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Country']"}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'position': ('django.db.models.fields.IntegerField', [], {})
|
|
|
|
},
|
|
|
|
'backend.moviefind': {
|
|
|
|
'all': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'cast': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'cinematographer': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'country': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'director': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'editor': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'filename': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'genre': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'keywords': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'language': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'locations': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'find'", 'unique': 'True', 'primary_key': 'True', 'to': "orm['backend.Movie']"}),
|
|
|
|
'producer': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'title': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'trivia': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'writer': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'year': ('django.db.models.fields.CharField', [], {'max_length': '4'})
|
|
|
|
},
|
|
|
|
'backend.movieimdb': {
|
|
|
|
'budget': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'episode': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'episode_title': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1000', 'blank': 'True'}),
|
|
|
|
'gross': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'imdbId': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '7'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'plot': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'plot_outline': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'profit': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'rating': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'release_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'runtime': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'season': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'series_imdb': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '7'}),
|
|
|
|
'series_title': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1000', 'blank': 'True'}),
|
|
|
|
'tagline': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'title': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
|
|
|
|
'votes': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'year': ('django.db.models.fields.CharField', [], {'max_length': '4'})
|
|
|
|
},
|
|
|
|
'backend.movielanguage': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Language']"}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'position': ('django.db.models.fields.IntegerField', [], {})
|
|
|
|
},
|
2009-12-31 15:04:32 +00:00
|
|
|
'backend.movieoxdb': {
|
|
|
|
'budget': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
|
|
|
'episode': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'episode_title': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'gross': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'plot': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'plot_outline': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'profit': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'rating': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'release_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'runtime': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'season': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
|
|
|
|
'series_imdb': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '7'}),
|
|
|
|
'series_title': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
|
|
|
|
'tagline': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'title': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
|
|
|
|
'votes': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'year': ('django.db.models.fields.CharField', [], {'max_length': '4'})
|
|
|
|
},
|
2009-09-07 15:43:42 +00:00
|
|
|
'backend.moviesort': {
|
|
|
|
'aspectratio': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'bitrate': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'cast': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'cinematographer': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'connections': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'country': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'director': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'duration': ('django.db.models.fields.FloatField', [], {'default': '-1'}),
|
|
|
|
'editor': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'filename': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'files': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'genre': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'keywords': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'language': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'movie': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'sort'", 'unique': 'True', 'primary_key': 'True', 'to': "orm['backend.Movie']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'movieId': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}),
|
|
|
|
'pixels': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'producer': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'rating': ('django.db.models.fields.FloatField', [], {'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'resolution': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'risk': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'runtime': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'scenes': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'size': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'summary': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
|
|
|
'title': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
|
|
|
|
'trivia': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'votes': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'words': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'wpm': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
|
|
|
|
'writer': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'year': ('django.db.models.fields.CharField', [], {'max_length': '4'})
|
|
|
|
},
|
|
|
|
'backend.person': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'imdbId': ('django.db.models.fields.CharField', [], {'max_length': '7', 'blank': 'True'}),
|
|
|
|
'movies': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['backend.Movie']"}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
|
|
|
|
'name_sort': ('django.db.models.fields.CharField', [], {'max_length': '200'})
|
|
|
|
},
|
|
|
|
'backend.review': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reviews_all'", 'to': "orm['backend.Movie']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'title': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'blank': 'True'}),
|
|
|
|
'url': ('django.db.models.fields.CharField', [], {'max_length': '2048', 'blank': 'True'})
|
|
|
|
},
|
|
|
|
'backend.reviewwhitelist': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
|
|
|
|
'url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
|
|
|
|
},
|
|
|
|
'backend.subtitle': {
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'file': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'subtitles'", 'to': "orm['backend.File']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'language': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
|
|
|
|
'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
|
|
|
|
'srt': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
|
|
|
|
'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
|
|
|
|
},
|
|
|
|
'backend.trivia': {
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
2009-12-31 15:04:32 +00:00
|
|
|
'manual': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
|
|
|
'movie': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'trivia_all'", 'to': "orm['backend.Movie']"}),
|
2009-09-07 15:43:42 +00:00
|
|
|
'position': ('django.db.models.fields.IntegerField', [], {}),
|
|
|
|
'trivia': ('django.db.models.fields.TextField', [], {})
|
|
|
|
},
|
|
|
|
'contenttypes.contenttype': {
|
|
|
|
'Meta': {'unique_together': "(('app_label', 'model'),)", 'db_table': "'django_content_type'"},
|
|
|
|
'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
|
|
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
|
|
|
'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
|
|
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
complete_apps = ['backend']
|