diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-02 09:36:31 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-02 09:36:31 -0500 |
commit | 9d73326aad4d9aee61a16f7274819fa93f32dc72 (patch) | |
tree | 9cf21f7a514478ef3e1593dd346dad144c37fdea /config | |
parent | 5b9343d77d8321e44d1ffc60769c651771dc38dd (diff) |
migrated to LXC container
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 1 | ||||
-rw-r--r-- | config/requirements.txt | 1 | ||||
-rw-r--r-- | config/settings.py | 8 |
3 files changed, 4 insertions, 6 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index ed4bd91..19d6499 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -39,6 +39,7 @@ urlpatterns += [ path(r'', NoteListView.as_view(), name='homepage',), path(r'forum/', include('forum.urls')), path(r'n/', include('notes.notes_urls')), + path(r'o/', include('outlines.urls')), path(r'nb/', include('notes.notebook_urls')), path(r'api/v1/', include(router.urls)), path(r'<slug>', PageDetailView.as_view(), name="pages"), diff --git a/config/requirements.txt b/config/requirements.txt index 634c3b6..d443342 100644 --- a/config/requirements.txt +++ b/config/requirements.txt @@ -41,7 +41,6 @@ parso==0.3.1 pexpect==4.6.0 pickleshare==0.7.5 Pillow==5.3.0 -pkg-resources==0.0.0 prompt-toolkit==2.0.7 psycopg2==2.7.5 psycopg2-binary==2.7.6.1 diff --git a/config/settings.py b/config/settings.py index dcd14ee..d2b0b08 100644 --- a/config/settings.py +++ b/config/settings.py @@ -77,6 +77,7 @@ LOCAL_APPS = [ 'pages', 'accounts', 'notes', + 'outlines', 'forum', ] INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS @@ -87,7 +88,7 @@ MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', - #'debug_toolbar.middleware.DebugToolbarMiddleware', + # 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', @@ -99,9 +100,7 @@ ROOT_URLCONF = 'config.base_urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [ - os.path.join(BASE_DIR, 'design/templates'), - ], + 'DIRS': [os.path.join(BASE_DIR, 'design/templates'), ], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -109,7 +108,6 @@ TEMPLATES = [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', - #'notes.context_processors.add_login_form', ], }, }, |