Fix DTC Studio shell compatibility with the community-base block check
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Reproduce the failure with uv run python manage.py check, then compare website.settings.local with website.settings.test and inspect the Studio adapter at templates/community_base/studio/base.html. Review the existing Studio shell work in #377 and determine whether the loader or block probe needs adjustment; done means local check and test commands pass while an incompatible shell is still rejected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
When community-base v0.5.8 or later is linked into DTC and Django uses its default local settings, uv run python manage.py check reports community_base.studio.E001 for the site's Studio adapter. The same check passes under website.settings.test, which the maintained CI commands use. The problem is limited to local-settings behavior, but it prevents plain manage.py check and manage.py test commands from reaching their checks/tests.
Steps to reproduce
- In a DTC checkout, link or install community-base v0.5.8 or later.
- Run
uv run python manage.py check(manage.py defaults towebsite.settings.local). - Observe
community_base.studio.E001forcommunity_base/studio/base.html. - Compare with
uv run python manage.py check --settings=website.settings.test, which passes with warnings only.
Expected behavior
The DTC Studio template chain is treated consistently across local and test settings. Resolve whether the local template loader should use the adapter at templates/community_base/studio/base.html or whether the block probe should account for its reachable nested blocks. Keep the check capable of rejecting a genuinely incompatible shell.
Context
The shared check first appears in community-base v0.5.8. The maintained package consumer CI and DTC course suite pass with test settings. Coordinate with the existing Studio shell work in #377 if it resolves the same template contract.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DataTalksClub/website
-
bug infra operations P1 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DataTalksClub/website#329 ·
-
bug content data-migration documentation events operations P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
DataTalksClub/website#327 ·
-
bug frontend P0 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
DataTalksClub/website#300 · 7 commenti ·
-
bug data-migration events P0 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DataTalksClub/website#295 · 6 commenti ·
-
courses enhancement P1
Difficoltà 4/5 3-5 giorni Idoneità per principianti 46/100
DataTalksClub/website#439 · 3 commenti ·
Tutte le issue di DataTalksClub/website
Issue simili
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattendedApertaworkflow
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
I maintainer di solito rispondono entro 1 giorno
-
New Submission: TropWATERApertametadata submission
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
canonical/content-cache-operator#163 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[submission]Apertasubmission
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
leanprover/lean-eval-submissions#1852 ·
I maintainer di solito rispondono entro 1 giorno