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