-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: djangocms_blog_custom… → remote_content
This changes remote blog load to be remote anything load. This removes the failed custom feed (archived in #874): #874
- Loading branch information
1 parent
6cd5a77
commit 7d56f8d
Showing
9 changed files
with
28 additions
and
73 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,4 @@ | ||
from django.apps import AppConfig | ||
|
||
class remoteContentAppConfig(AppConfig): | ||
name = 'apps.remote_content' |
File renamed without changes.
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,17 @@ | ||
import re | ||
|
||
from django.urls import re_path | ||
# from django.conf import settings | ||
|
||
from .views import RemoteMarkup | ||
|
||
|
||
app_name = 'remote_content' | ||
|
||
# blogRemoteUrlPattern = r'^' + re.escape(settings.PORTAL_REMOTE_CONTENT_CLIENT_PATH) | ||
urlpatterns = [ | ||
# To render a blog (or any page) from another website | ||
# TODO: Use query parameter, not URL path | ||
# TODO: Use settings.PORTAL_REMOTE_CONTENT_CLIENT_PATH | ||
re_path(r'^markup/', RemoteMarkup.as_view(), name='remote_markup'), | ||
] |
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,3 +1,3 @@ | ||
CUSTOM_APPS = ['apps.custom_example', 'apps.djangocms_blog_customizations'] | ||
CUSTOM_APPS = ['apps.custom_example', 'apps.remote_content'] | ||
CUSTOM_MIDDLEWARE = [] | ||
STATICFILES_DIRS = () |