comparison gpp/accounts/views.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 dbd703f7d63a
children df56795771a6
comparison
equal deleted inserted replaced
5:63696b279e35 6:b6263ac72052
1 """views for the accounts application""" 1 """views for the accounts application"""
2 2
3 import datetime 3 import datetime
4 import settings
5 from django.shortcuts import render_to_response 4 from django.shortcuts import render_to_response
6 from django.template import RequestContext 5 from django.template import RequestContext
7 from django.contrib import auth 6 from django.contrib import auth
8 from django.http import HttpResponseRedirect 7 from django.http import HttpResponseRedirect
9 from django.core.urlresolvers import reverse 8 from django.core.urlresolvers import reverse
9 from django.conf import settings
10 10
11 from accounts.models import PendingUser 11 from accounts.models import PendingUser
12 from accounts.forms import RegisterForm 12 from accounts.forms import RegisterForm
13 13
14 14