list courses v0.1
This commit is contained in:
@@ -17,6 +17,7 @@ import os
|
||||
import twitter
|
||||
import re
|
||||
import pytz
|
||||
|
||||
from django.conf import settings
|
||||
from sqlalchemy import create_engine
|
||||
import sqlalchemy as sa
|
||||
@@ -31,6 +32,7 @@ from collections import OrderedDict
|
||||
|
||||
import types
|
||||
|
||||
|
||||
from rowsandall_app.settings import (
|
||||
TWEET_ACCESS_TOKEN_KEY,
|
||||
TWEET_ACCESS_TOKEN_SECRET,
|
||||
@@ -661,6 +663,7 @@ timezones = (
|
||||
class GeoCourse(models.Model):
|
||||
manager = models.ForeignKey(Rower)
|
||||
name = models.CharField(max_length=150,blank=True)
|
||||
country = models.CharField(max_length=150,blank=True)
|
||||
|
||||
def __unicode__(self):
|
||||
name = self.name
|
||||
|
||||
Reference in New Issue
Block a user