Comments (10)
I haven't got this error. @restless is there a way I can reproduce it?
from cookiecutter-django.
Just trying to understand:
- Your
config/
is calledsettings/
. - You are using an
init.py
module insidesettings/
If you change things back to the standard cookiecutter-django design, does it work properly?
from cookiecutter-django.
Yes, my config
dir was called settings
, and it contained __init__.py
. I reverted to a single file configuration so can't easily reproduce it now. I'll try to find some time soon to check it and then will write back here about the results of using config instead of settings.
from cookiecutter-django.
I don't know if this is related but I'm also having gunicorn problems with essentially a default setup. I've sought an answer for the problem without success thus far. Thanks to the way I'm building my project it should be possible to recreate my conditions entirely if that's useful. I'll continue searching for the answer in the meantime.
from cookiecutter-django.
I've now sorted my issue so you can safely ignore me on this one.
from cookiecutter-django.
I'm closing it as I also can't reproduce it at the moment.
from cookiecutter-django.
Might this be the solution: http://stackoverflow.com/a/28489453/93270
If it is, let's please add it to the documentation. Right now nearly everything points to Heroku deployments but... not everyone is using this on Heroku. 😉
from cookiecutter-django.
Yes that was my solution. I'm getting very close to deploying on linked Docker containers on AWS EC2. Would you take a docs PR for how I did so? (Subject to my docs and process being up to standard of course!)
from cookiecutter-django.
@garry-cairns Absoloutely we'll take a docs PR.
That said, could it go into the docs
directory as a 'Docker/EC2' file? We're going to be moving all deployment instructions there so we can break the options up by category.
from cookiecutter-django.
Perfect. I'll do it this weekend, by which time I should have smoothed out any remaining kinks.
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.