forked from 0x2620/pandora
random checking of new api stuff
This commit is contained in:
parent
d77acd43cd
commit
f2944b1b75
12 changed files with 312 additions and 207 deletions
|
|
@ -123,6 +123,10 @@ def newMovie(title, director, year):
|
|||
movie.oxdbId = "__init__%s" % random.randint(0, 100000)
|
||||
movie.save()
|
||||
movie.oxdbId = movie.oxid()
|
||||
print title, director, year
|
||||
print movie.oxdbId
|
||||
print movie.movieId
|
||||
|
||||
movie.save()
|
||||
return movie
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue