Comments (6)
Is that what causes then "jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'secret_key'" error? If so, just ran into it. If so, is there a workaround?
from cookiecutter-django.
Oops - pushed to wrong branch. @jefftriplett fixed it.
from cookiecutter-django.
@pydanny we should collaborate on implementing this as the first Cookiecutter plugin. You know where to find me :) Maybe after the 0.7.0 release, though.
from cookiecutter-django.
Is there a way now to generate a SECRET_KEY automatically?
from cookiecutter-django.
@DanEEStar Not yet. However, I saw a great technique not too long ago relying on a command-line trick to do it. I just can't find it anymore. 😭
from cookiecutter-django.
I saw something in this gist: https://gist.github.com/mattseymour/9205591
from cookiecutter-django.
Related Issues (20)
- You probably don't need `get_user_model` HOT 1
- CI should test against production environment, not local HOT 2
- Allow multiple imports on one line HOT 6
- Incorrect Python version in Docker. HOT 1
- Use Astral's uv for pip installation in Docker + CI HOT 4
- Integrate PostgreSQL 16 Support in Django Cookiecutter HOT 1
- libpq-dev installation is repeated in Dockerfile HOT 1
- Adding django-ninja options to building REST APIs HOT 11
- S3 putObject fails when starting up project: What permissions are required.? HOT 3
- Selecting Whitenoise and AWS as cloud provider overrides STATIC_URL in a way that assumes Collectfast HOT 3
- Adopt Collectfasta HOT 2
- Drop support for runserver_plus & django_extensions HOT 2
- createdb and migrate using conda
- ruff hook fails with F405 issue in config/settings/production.py
- Python: can't open file '/app/manage.py': [Errno 2] No such file or directory - Django - Docker Compose HOT 8
- Python: can't open file '/app/manage.py': [Errno 2] No such file or directory - Django - Docker Compose
- Why doesn't add RunServerPlus options for reload in windows when using docker? HOT 3
- Add `compose` to the names of docker compose files HOT 3
- Sometimes template code changes not detected in windows wls ubuntu22.04. HOT 2
- Discord invite expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookiecutter-django.