Adding accounts.
parent
5eb342edb3
commit
efeac8bc5e
|
@ -2,7 +2,7 @@
|
|||
|
||||
import os, socket
|
||||
|
||||
if socket.gethostname() in ['nickmba.local', 'nickimac.local']:
|
||||
if socket.gethostname() in ['mba.local', 'mbp.local']:
|
||||
DEBUG = True
|
||||
else:
|
||||
DEBUG = False
|
||||
|
@ -144,6 +144,7 @@ INSTALLED_APPS = (
|
|||
'taggit',
|
||||
'tastypie',
|
||||
|
||||
'accounts',
|
||||
'blogs',
|
||||
'snipts',
|
||||
'utils',
|
||||
|
@ -208,6 +209,9 @@ ABSOLUTE_URL_OVERRIDES = {
|
|||
'auth.user': lambda u: "/%s/" % u.username,
|
||||
}
|
||||
|
||||
# Accounts
|
||||
AUTH_PROFILE_MODULE = 'accounts.UserProfile'
|
||||
|
||||
# Caching
|
||||
|
||||
# Search
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
|
|
Loading…
Reference in New Issue