Andrew Chen Wang
Andrew Chen Wang
Has anyone tried using poetry with large projects? Or just the base cookiecutter-django template? As much as a lock file is useful, poetry's super slow, especially larger projects. I wouldn't...
> > Has anyone tried using poetry with large projects > > > > I don't see how this is relevant, as the packages required by cookiecutter aren't that many....
> hit a nerve Sorry, I just don't write very professionally or respectfully so excuse me 😅 Will work to improve plus thanks for suggestions! I'm just concerned we're fully...
I think for the template, it might be easier if we run a post-gen hook that runs poetry install rather than save a huge lock file for the template. All...
I'd like to make a quick test script. If anyone can make a quick pyproject.toml and a lock file where there are multiple groups/envs (ie local and prod), that'd be...
This affects generated templates https://github.com/cookiecutter/cookiecutter-django/blob/8cf57ca1872508874c50da0493dc22df6827066c/%7B%7Bcookiecutter.project_slug%7D%7D/.github/workflows/ci.yml#L34-L35 If there are alternative GitHub Actions rather than using pre-commit's CI itself, that'd be great since many people use cookiecutter-django in private repos. Additionally, it's...
I used to get 14-30 second response times. Something that can help when developing your frontend is to use `SHOW_TOOLBAR_CALLBACK`: ``` DEBUG_TOOLBAR_CONFIG = { "DISABLE_PANELS": ["debug_toolbar.panels.redirects.RedirectsPanel"], "SHOW_TEMPLATE_CONTEXT": True, "SHOW_TOOLBAR_CALLBACK": "config.utils.toolbar.enable_toolbar",...
would there be a circular dependency error when you try to import `env` from those separate sections? Unless you're saying import based on file, in which case, I don't think...
> and if you need some data from another section you just do a clean `from .base import env` inside of that section so it all works like a clock...
gotcha thanks for adding this!! I agree this is so much more manageable, but I like the current way our `production.py` makes sure there are no defaults in `production.py`. I...