Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Matthews-MacBook-Pro:mechanical-mooc mattmclean024$ heroku run python manage.py shell
- Your version of git is 1.9.3. Which has serious security vulnerabilities.
- More information here: https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_on_windows_and_os_x
- Running `python manage.py shell` attached to terminal... up, run.8185
- > from sequence import models
- > from datetime import datetime
- > start_date = datetime(2015, 1, 24)
- > signup_close_date = datetime(2015, 9, 23)
- > models.create_sequence(start_date, signup_close_date)
- > exit()Python 2.7.8 (default, Jul 9 2014, 20:47:08)
- [GCC 4.4.3] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- (InteractiveConsole)
- >>> > from sequence import models
- File "<console>", line 1
- > from sequence import models
- ^
- SyntaxError: invalid syntax
- >>> > from datetime import datetime
- File "<console>", line 1
- > from datetime import datetime
- ^
- SyntaxError: invalid syntax
- >>> > start_date = datetime(2015, 1, 24)
- File "<console>", line 1
- > start_date = datetime(2015, 1, 24)
- ^
- SyntaxError: invalid syntax
- >>> > signup_close_date = datetime(2015, 9, 23)
- File "<console>", line 1
- > signup_close_date = datetime(2015, 9, 23)
- ^
- SyntaxError: invalid syntax
- >>> > models.create_sequence(start_date, signup_close_date)
- File "<console>", line 1
- > models.create_sequence(start_date, signup_close_date)
- ^
- SyntaxError: invalid syntax
- >>> > exit()
Advertisement
Add Comment
Please, Sign In to add comment