Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
48750364
Commit
48750364
authored
3 years ago
by
OndraRehounek
Committed by
jan.bednarik
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
HelpText
parent
aa41c377
No related branches found
No related tags found
2 merge requests
!442
Release
,
!432
Feature/majak imports
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-0
5 additions, 0 deletions
README.md
district/models.py
+5
-0
5 additions, 0 deletions
district/models.py
with
10 additions
and
0 deletions
README.md
+
5
−
0
View file @
48750364
...
...
@@ -109,6 +109,11 @@ CELERY_BROKER_URL=redis://localhost:6379/6
CELERY_RESULT_BACKEND=redis://localhost:6379/6
```
Aby se celery tasky vykonávaly, je potřeba pustit celery v terminálu:
```
celery -A majak worker
```
### Stránka 404
Pokud je třeba vlastní 404 pro web, stačí do kořenové
`xxxHomePage`
webu
...
...
This diff is collapsed.
Click to expand it.
district/models.py
+
5
−
0
View file @
48750364
...
...
@@ -11,6 +11,7 @@ from taggit.models import Tag, TaggedItemBase
from
wagtail.admin.edit_handlers
import
(
CommentPanel
,
FieldPanel
,
HelpPanel
,
MultiFieldPanel
,
ObjectList
,
PageChooserPanel
,
...
...
@@ -382,6 +383,10 @@ class DistrictArticlesPage(SubpageMixin, MetadataPageMixin, Page):
FieldPanel
(
"
dry_run
"
),
FieldPanel
(
"
use_git
"
),
FieldPanel
(
"
jekyll_repo_url
"
),
HelpPanel
(
"
Import provádějte vždy až po vytvoření stránky aktualit.
"
"
Import proběhne na pozadí a může trvat až několik minut.
"
),
],
"
import z Jekyll repozitáře
"
,
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment