Guest User

Untitled

a guest
Jan 24th, 2015
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. Matthews-MacBook-Pro:mechanical-mooc mattmclean024$ heroku run python manage.py shell
  2. Your version of git is 1.9.3. Which has serious security vulnerabilities.
  3. More information here: https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_on_windows_and_os_x
  4. Running `python manage.py shell` attached to terminal... up, run.8185
  5. > from sequence import models
  6. > from datetime import datetime
  7. > start_date = datetime(2015, 1, 24)
  8. > signup_close_date = datetime(2015, 9, 23)
  9. > models.create_sequence(start_date, signup_close_date)
  10. > exit()Python 2.7.8 (default, Jul 9 2014, 20:47:08)
  11. [GCC 4.4.3] on linux2
  12. Type "help", "copyright", "credits" or "license" for more information.
  13. (InteractiveConsole)
  14. >>> > from sequence import models
  15. File "<console>", line 1
  16. > from sequence import models
  17. ^
  18. SyntaxError: invalid syntax
  19. >>> > from datetime import datetime
  20. File "<console>", line 1
  21. > from datetime import datetime
  22. ^
  23. SyntaxError: invalid syntax
  24. >>> > start_date = datetime(2015, 1, 24)
  25. File "<console>", line 1
  26. > start_date = datetime(2015, 1, 24)
  27. ^
  28. SyntaxError: invalid syntax
  29. >>> > signup_close_date = datetime(2015, 9, 23)
  30. File "<console>", line 1
  31. > signup_close_date = datetime(2015, 9, 23)
  32. ^
  33. SyntaxError: invalid syntax
  34. >>> > models.create_sequence(start_date, signup_close_date)
  35. File "<console>", line 1
  36. > models.create_sequence(start_date, signup_close_date)
  37. ^
  38. SyntaxError: invalid syntax
  39. >>> > exit()
Advertisement
Add Comment
Please, Sign In to add comment