comparison gpp/accounts/forms.py @ 6:b6263ac72052

Use DRY principle to manage third party javascript libraries. Created script_tags template tags to generate the correct link and script tags for 3rd party libraries. The settings.py file is the only place where the full path name is specified.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Apr 2009 22:50:56 +0000
parents f3ad863505bf
children 53b7c681d80b
comparison
equal deleted inserted replaced
5:63696b279e35 6:b6263ac72052
3 from django import forms 3 from django import forms
4 from django.contrib.auth.models import User 4 from django.contrib.auth.models import User
5 from django.core.urlresolvers import reverse 5 from django.core.urlresolvers import reverse
6 from django.template.loader import render_to_string 6 from django.template.loader import render_to_string
7 from django.contrib.sites.models import Site 7 from django.contrib.sites.models import Site
8 from django.conf import settings
8 9
9 import settings
10 from core.functions import send_mail 10 from core.functions import send_mail
11 from accounts.models import PendingUser 11 from accounts.models import PendingUser
12 from accounts.models import IllegalUsername 12 from accounts.models import IllegalUsername
13 from accounts.models import IllegalEmail 13 from accounts.models import IllegalEmail
14 14