Ignore:
Timestamp:
05/16/13 12:52:40 (11 years ago)
Author:
BSanchezRZG
Message:

Update with sorting choice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CenterRegistry/trunk/settings.py

    r2807 r2895  
    11# Django settings for CenterRegistry project.
     2
     3import os
    24
    35#for repository we had to have:
     
    57#DEBUG = False
    68
    7 #DEBUG = True
    8 DEBUG = False
     9DEBUG = True
     10#DEBUG = False
    911TEMPLATE_DEBUG = DEBUG
    1012
     
    4547USE_I18N = True
    4648
    47 # If you set this to False, Django will not format dates, numbers and
    48 # calendars according to the current locale
     49# If you set this to False, Django will notq
    4950USE_L10N = True
    5051
     
    6263# in apps' "static/" subdirectories and in STATICFILES_DIRS.
    6364# Example: "/home/media/media.lawrence.com/static/"
    64 STATIC_ROOT = ''
     65#STATIC_ROOT = ''
    6566
     67PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
     68STATICFILES_DIRS = ( 
     69                    os.path.join(PROJECT_DIR, 'media/'),
     70)
     71
     72STATIC_ROOT= os.path.join(PROJECT_DIR,'static/')
     73#STATIC_ROOT= '/static/'
    6674# URL prefix for static files.
    6775# Example: "http://media.lawrence.com/static/"
     
    99107)
    100108
     109
    101110MIDDLEWARE_CLASSES = (
    102111    'django.middleware.common.CommonMiddleware',
     
    133142)
    134143
     144
    135145INSTALLED_APPS = (
    136146    'django.contrib.auth',
     
    145155    'django.contrib.admindocs',
    146156    'django.contrib.staticfiles',
    147     'centerregistry',
     157    'centerregistry',   
    148158    'south'
    149159)
Note: See TracChangeset for help on using the changeset viewer.