-
-
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.
- Loading branch information
1 parent
7d88b18
commit b278141
Showing
18 changed files
with
197 additions
and
35 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
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
from django.core.management import BaseCommand | ||
|
||
from dotenv import load_dotenv | ||
|
||
load_dotenv() | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -104,4 +104,4 @@ def _create_user(): | |
_create_user() | ||
|
||
def test_api_user_update(self): | ||
pass | ||
pass |
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,5 +1,7 @@ | ||
from .apps import * # noqa | ||
from .jwt import * # noqa | ||
from .rest_framework import * # noqa | ||
from .unfold_navigation import * # noqa | ||
from .unfold import * # noqa | ||
from .unfold_navigation import * # noqa | ||
from .unfold import * # noqa | ||
|
||
# from .cheditor5 import * # noqa |
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 |
---|---|---|
@@ -0,0 +1,140 @@ | ||
customColorPalette = [ | ||
{"color": "hsl(4, 90%, 58%)", "label": "Red"}, | ||
{"color": "hsl(340, 82%, 52%)", "label": "Pink"}, | ||
{"color": "hsl(291, 64%, 42%)", "label": "Purple"}, | ||
{"color": "hsl(262, 52%, 47%)", "label": "Deep Purple"}, | ||
{"color": "hsl(231, 48%, 48%)", "label": "Indigo"}, | ||
{"color": "hsl(207, 90%, 54%)", "label": "Blue"}, | ||
] | ||
|
||
CKEDITOR_5_CONFIGS = { | ||
"default": { | ||
"toolbar": [ | ||
"heading", | ||
"|", | ||
"bold", | ||
"italic", | ||
"link", | ||
"bulletedList", | ||
"numberedList", | ||
"blockQuote", | ||
"imageUpload", | ||
], | ||
}, | ||
"extends": { | ||
"blockToolbar": [ | ||
"paragraph", | ||
"heading1", | ||
"heading2", | ||
"heading3", | ||
"|", | ||
"bulletedList", | ||
"numberedList", | ||
"|", | ||
"blockQuote", | ||
], | ||
"toolbar": [ | ||
"heading", | ||
"|", | ||
"outdent", | ||
"indent", | ||
"|", | ||
"bold", | ||
"italic", | ||
"link", | ||
"underline", | ||
"strikethrough", | ||
"code", | ||
"subscript", | ||
"superscript", | ||
"highlight", | ||
"|", | ||
"codeBlock", | ||
"sourceEditing", | ||
"insertImage", | ||
"bulletedList", | ||
"numberedList", | ||
"todoList", | ||
"|", | ||
"blockQuote", | ||
"imageUpload", | ||
"|", | ||
"fontSize", | ||
"fontFamily", | ||
"fontColor", | ||
"fontBackgroundColor", | ||
"mediaEmbed", | ||
"removeFormat", | ||
"insertTable", | ||
], | ||
"image": { | ||
"toolbar": [ | ||
"imageTextAlternative", | ||
"|", | ||
"imageStyle:alignLeft", | ||
"imageStyle:alignRight", | ||
"imageStyle:alignCenter", | ||
"imageStyle:side", | ||
"|", | ||
], | ||
"styles": [ | ||
"full", | ||
"side", | ||
"alignLeft", | ||
"alignRight", | ||
"alignCenter", | ||
], | ||
}, | ||
"table": { | ||
"contentToolbar": [ | ||
"tableColumn", | ||
"tableRow", | ||
"mergeTableCells", | ||
"tableProperties", | ||
"tableCellProperties", | ||
], | ||
"tableProperties": { | ||
"borderColors": customColorPalette, | ||
"backgroundColors": customColorPalette, | ||
}, | ||
"tableCellProperties": { | ||
"borderColors": customColorPalette, | ||
"backgroundColors": customColorPalette, | ||
}, | ||
}, | ||
"heading": { | ||
"options": [ | ||
{ | ||
"model": "paragraph", | ||
"title": "Paragraph", | ||
"class": "ck-heading_paragraph", | ||
}, | ||
{ | ||
"model": "heading1", | ||
"view": "h1", | ||
"title": "Heading 1", | ||
"class": "ck-heading_heading1", | ||
}, | ||
{ | ||
"model": "heading2", | ||
"view": "h2", | ||
"title": "Heading 2", | ||
"class": "ck-heading_heading2", | ||
}, | ||
{ | ||
"model": "heading3", | ||
"view": "h3", | ||
"title": "Heading 3", | ||
"class": "ck-heading_heading3", | ||
}, | ||
] | ||
}, | ||
}, | ||
"list": { | ||
"properties": { | ||
"styles": "true", | ||
"startIndex": "true", | ||
"reversed": "true", | ||
} | ||
}, | ||
} |
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
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
Oops, something went wrong.