on failure (DoesNotExist instead of IndexError). Call the database query once and store it in a temp variable instead of doing the same query twice. Handle day_id=NULL for the morning beverages/breakfast time. Use the DoesNotExist exception instead of a generic except: for the area - except: is likely to hide things that you didn't expect. - Legacy-Id: 156 |
||
---|---|---|
ietf | ||
.gitignore |