Boston Python Workshop/Saturday/Web app project: Difference between revisions

Content added Content deleted
Line 306: Line 306:


Note the addition of import datetime to reference Python's standard datetime module.
Note the addition of import datetime to reference Python's standard datetime module.
FIXME: add explanation of why we did this


Save these changes to the models.py file, and then start a new Python interactive shell by running python manage.py shell again:
Save these changes to the models.py file, and then start a new Python interactive shell by running python manage.py shell again: