Races: add some logging stuff for later use

This commit is contained in:
Brian S. Stephan 2014-04-05 10:50:01 -05:00
parent f9c7388bae
commit c1fadb7b74
2 changed files with 20 additions and 0 deletions

View File

@ -1,7 +1,17 @@
"""
races/models.py --- models for managing competitive races
"""
import logging
from django.db import models
from django.utils import timezone
log = logging.getLogger('dr_botzo.races')
class Race(models.Model):
"""Track a race."""

View File

@ -1,8 +1,18 @@
"""
races/views.py --- display race statuses and whatnot
"""
import logging
from django.shortcuts import get_object_or_404, render
from races.models import Race, Racer, RaceUpdate
log = logging.getLogger('dr_botzo.races')
def index(request):
"""Display a list of races."""