Created
November 16, 2012 21:13
-
-
Save fsouza/4090962 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--- PYTHON IMPORTS | |
import math | |
from datetime import datetime, date | |
#--- DJANGO IMPORTS | |
from django.db import models | |
from django.db.models import Avg | |
from django.contrib.auth.models import User | |
from django.core.urlresolvers import reverse | |
from django.template.defaultfilters import slugify | |
from django.core.mail import EmailMessage | |
from django.template.loader import render_to_string | |
from django.contrib.sites.models import Site | |
from django.db.models.signals import pre_save | |
from django.conf import settings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's why some "magic" is nice.
Give Web2py a try. ;-)