mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-11 01:26:22 +01:00
Character stuff
This commit is contained in:
@@ -52,7 +52,11 @@ INSTALLED_APPS = (
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'django_evolution',
|
||||
'authentication',
|
||||
'portal',
|
||||
'registration',
|
||||
'evespecific',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
@@ -68,7 +72,6 @@ ROOT_URLCONF = 'allianceauth.urls'
|
||||
|
||||
WSGI_APPLICATION = 'allianceauth.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
|
||||
|
||||
@@ -96,10 +99,25 @@ USE_L10N = True
|
||||
|
||||
USE_TZ = True
|
||||
|
||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.core.context_processors.debug',
|
||||
'django.core.context_processors.i18n',
|
||||
'django.core.context_processors.media',
|
||||
'django.core.context_processors.static',
|
||||
'django.core.context_processors.tz',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
'django.core.context_processors.request',
|
||||
'util.context_processors.alliance_id',
|
||||
'util.context_processors.alliance_name'
|
||||
)
|
||||
|
||||
########## USER CONFIGURATION
|
||||
AUTH_USER_MODEL = 'authentication.AllianceUser'
|
||||
########## END USER CONFIGURATION
|
||||
|
||||
LOGIN_URL = '/loginuser/'
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/1.6/howto/static-files/
|
||||
|
||||
@@ -112,3 +130,7 @@ STATICFILES_DIRS = (
|
||||
)
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
# ALLIANCE INFO
|
||||
ALLIANCE_ID = 99001336
|
||||
ALLIANCE_NAME = 'The 99 Percent'
|
||||
|
||||
@@ -8,6 +8,8 @@ urlpatterns = patterns('',
|
||||
# url(r'^$', 'allianceauth.views.home', name='home'),
|
||||
# url(r'^blog/', include('blog.urls')),
|
||||
url(r'^$', 'portal.views.index', name='index'),
|
||||
url(r'^characters/', 'portal.views.characters_view', name='characters'),
|
||||
url(r'^apimanagment/', 'portal.views.apimanagment_view', name='apimanagment'),
|
||||
url(r'^loginuser/','authentication.views.login_user', name='loginuser'),
|
||||
url(r'^logoutuser/','authentication.views.logout_user', name='logoutuser'),
|
||||
url(r'^register/', 'registration.views.register', name='register'),
|
||||
|
||||
Reference in New Issue
Block a user