-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task/WP-149: Upgrade APCD CMS to Django 4.2 (#277)
* Update Core-CMS image to v4.5.0 (grab Django 4.2+ update) * Admin registrations table apps.py misconfigured * Fix app name in config for admin registrations listing * Update local dev postgres version * Update app config names so Django can find them - prepend 'apps.' to each * Update admin registrations listing namespace * Update static load in custom template * Add app config for login app * Convert to psycopg from psycopg2 for db connections * Rename taccsite_custom/apcd-cms to taccsite_custom/apcd_cms to match Core-CMS v3.12+ requirements --------- Co-authored-by: Garrett Edmonds <[email protected]>
- Loading branch information
1 parent
f95f346
commit f0111e8
Showing
29 changed files
with
59 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class AdminExceptionConfig(AppConfig): | ||
name = 'admin_exception' | ||
name = 'apps.admin_exception' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class AdminExtensionConfig(AppConfig): | ||
name = 'admin_extension' | ||
name = 'apps.admin_extension' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class CustomExampleConfig(AppConfig): | ||
name = 'custom_example' | ||
class AdminRegConfig(AppConfig): | ||
name = 'apps.admin_regis_table' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class SubmissionConfig(AppConfig): | ||
name = 'admin_submissions' | ||
name = 'apps.admin_submissions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class APCDLoginConfig(AppConfig): | ||
name = 'apps.apcd_login' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class ExceptionFormConfig(AppConfig): | ||
name = 'exception' | ||
name = 'apps.exception' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class ExtensionFormConfig(AppConfig): | ||
name = 'extension' | ||
name = 'apps.extension' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class SubmissionFormConfig(AppConfig): | ||
name = 'register' | ||
name = 'apps.registrations' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from django.urls import path | ||
from apps.registrations.views import SubmissionFormView | ||
|
||
app_name = 'register' | ||
app_name = 'registrations' | ||
urlpatterns = [ | ||
path('request-to-submit/', SubmissionFormView.as_view(), name='register_table') | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class SubmissionConfig(AppConfig): | ||
name = 'submissions' | ||
name = 'apps.submissions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.