Skip to content

Proof of concept: using djp for plugin management #636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions coldfront/config/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import djp
import environ
from split_settings.tools import optional, include
from coldfront.config.env import ENV, PROJECT_ROOT
Expand Down Expand Up @@ -50,3 +51,5 @@
coldfront_configs.append(optional(lc))

include(*coldfront_configs)

djp.settings(globals())
3 changes: 3 additions & 0 deletions coldfront/config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from django.contrib import admin
from django.urls import include, path
from django.views.generic import TemplateView
import djp

import coldfront.core.portal.views as portal_views

Expand Down Expand Up @@ -41,3 +42,5 @@

if 'django_su.backends.SuBackend' in settings.AUTHENTICATION_BACKENDS:
urlpatterns.append(path('su/', include('django_su.urls')))

urlpatterns += djp.urlpatterns()
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@
'django-sslserver==0.22',
'django-su==1.0.0',
'doi2bib==0.4.0',
'djp==0.3.1',
'factory-boy==3.3.0',
'Faker==24.1.0',
'fontawesome-free==5.15.4',
'FormEncode==2.1.0',
'future==1.0.0',
'humanize==4.9.0',
'idna==3.6',
'pluggy==1.5.0',
'pyparsing==3.1.2',
'python-dateutil==2.9.0.post0',
'python-memcached==1.62',
Expand Down