diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/cdb/__init__.py b/cdb/__init__.py old mode 100644 new mode 100755 diff --git a/cdb/settings.py b/cdb/settings.py old mode 100644 new mode 100755 index 270e7e6..b871966 --- a/cdb/settings.py +++ b/cdb/settings.py @@ -14,7 +14,8 @@ import os  # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - +#STATIC_ROOT = 'static' +ADMIN_MEDIA_PREFIX = '/static/admin/'   # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ @@ -25,12 +26,13 @@ SECRET_KEY = '9zje#%0mk)=bhk&949-$z46ics!gqqkxs*-450tda0g79t99$6' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True  -ALLOWED_HOSTS = ["192.168.88.158"] +ALLOWED_HOSTS = ["*"]   # Application definition  INSTALLED_APPS = [ + 'licenses.apps.SuitConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -119,3 +121,9 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.11/howto/static-files/  STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static/') +#STATICFILES_DIRS = ( +# os.path.join(BASE_DIR, "static"), +# '/var/www/html/tbcc-django/static/', +#) + diff --git a/cdb/urls.py b/cdb/urls.py old mode 100644 new mode 100755 diff --git a/cdb/wsgi.py b/cdb/wsgi.py old mode 100644 new mode 100755 diff --git a/licenses/__init__.py b/licenses/__init__.py old mode 100644 new mode 100755 diff --git a/licenses/admin.py b/licenses/admin.py old mode 100644 new mode 100755 diff --git a/licenses/apps.py b/licenses/apps.py old mode 100644 new mode 100755 index 4f8d26c..ce2a738 --- a/licenses/apps.py +++ b/licenses/apps.py @@ -1,5 +1,8 @@ from django.apps import AppConfig +from suit.apps import DjangoSuitConfig  +class SuitConfig(DjangoSuitConfig): + layout = 'horizontal'  class LicensesConfig(AppConfig): name = 'licenses' diff --git a/licenses/migrations/0001_initial.py b/licenses/migrations/0001_initial.py old mode 100644 new mode 100755 diff --git a/licenses/migrations/__init__.py b/licenses/migrations/__init__.py old mode 100644 new mode 100755 diff --git a/licenses/models.py b/licenses/models.py old mode 100644 new mode 100755 diff --git a/licenses/tests.py b/licenses/tests.py old mode 100644 new mode 100755 diff --git a/licenses/views.py b/licenses/views.py old mode 100644 new mode 100755 diff --git a/manage.py b/manage.py old mode 100644 new mode 100755