Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fix DTC Studio shell compatibility with the community-base block check

Aperta
#435 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
django, python
Ambito
backend, testing

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

admin bug needs grooming P2

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

  1. In a DTC checkout, link or install community-base v0.5.8 or later.
  2. Run uv run python manage.py check (manage.py defaults to website.settings.local).
  3. Observe community_base.studio.E001 for community_base/studio/base.html.
  4. 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DataTalksClub/website

Tutte le issue di DataTalksClub/website

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.