Skip to content

Conversation

@estyxx
Copy link
Member

@estyxx estyxx commented Jan 31, 2025

What

ToDo

@vercel
Copy link

vercel bot commented Jan 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
pycon ✅ Ready (Inspect) Visit Preview Jan 31, 2025 9:00am

@codecov
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

Attention: Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

Project coverage is 94.45%. Comparing base (437e069) to head (de06d7a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4339      +/-   ##
==========================================
- Coverage   94.52%   94.45%   -0.08%     
==========================================
  Files         347      347              
  Lines        9905     9914       +9     
  Branches      696      698       +2     
==========================================
+ Hits         9363     9364       +1     
- Misses        455      461       +6     
- Partials       87       89       +2     



if settings.DEBUG:
if settings.ENABLE_DJANGO_DEBUG_TOOLBAR:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need the 2 nested ifs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed in one line

This commit introduces the ability to enable the Django Debug Toolbar
for local development. The toolbar can be activated by setting the
`ENABLE_DJANGO_DEBUG_TOOLBAR` environment variable to `True`.

Changes include:
- Adding the necessary configuration in `settings/base.py`
- Updating `urls.py` to include debug toolbar URLs
- Adding `django-debug-toolbar` to development dependencies in
    `pyproject.toml` and `uv.lock`
The backend README was deleted because it was outdated. We now use
Docker to run the entire application due to dependencies on Postgres
and Astro.
@estyxx estyxx merged commit 1aa2ba0 into main Feb 3, 2025
6 checks passed
@estyxx estyxx deleted the debug/add-django-debug-toolbar branch February 3, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants