Skip to content

Conversation

simonLeary42
Copy link
Contributor

@simonLeary42 simonLeary42 commented Sep 5, 2025

Please correct me if I'm wrong:

A typical django workflow involves creating a project with django-admin startproject, then you get a "project directory", which is distinct from the "app directory". A django "project directory" contains manage.py, settings.py, urls.py, asgi.py , and wsgi.py.

Coldfront does away with the project directory and instead:

  • manage.py is replaced with the coldfront binary
  • settings.py is replaced with coldfront/config/settings.py which the user can extend
  • wsgi.py is replaced with coldfront/config/wsgi.py
  • asgi.py is removed
  • urls.py is replaced with coldfront/config/urls.py which the user cannot extend without keeping a dirty worktree

I would like to extend the URLs config without keeping a dirty worktree, so I added local_urls.py which behaves exactly like local_settings.py.

@simonLeary42 simonLeary42 force-pushed the local-urls branch 3 times, most recently from d201110 to b7d7ff1 Compare September 5, 2025 15:39
Copy link
Member

@aebruno aebruno left a comment

Choose a reason for hiding this comment

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

@simonLeary42 Can you fix up the linting errors. Thanks!

@aebruno
Copy link
Member

aebruno commented Oct 1, 2025

@simonLeary42 please squash into single signed commit. Thanks!

@simonLeary42
Copy link
Contributor Author

For the record, the reason I want to do this is so I can use https://github.com/django-commons/django-debug-toolbar

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.

2 participants