Private
Public Access
1
0

list courses v0.1

This commit is contained in:
Sander Roosendaal
2018-02-19 09:33:03 +01:00
parent a2628c1860
commit 8a81a63c87
5 changed files with 161 additions and 0 deletions

View File

@@ -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