Questions tagged [cookiecutter-django]

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

Powered by Cookiecutter, Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly. It is an open source tool, designed with best practices in mind to move the boilerplate of building deployable Django projects out of the way.

222 questions
0
votes
1 answer

Celery and Django, queries cause ProgrammingError

I'm building a small Django project with cookiecutter-django and I need to run tasks in the background. Even though I set up the project with cookiecutter I'm facing some issues with Celery. Let's say I have a model class called Job with three…
JanMensch
  • 1,720
  • 1
  • 18
  • 27
0
votes
2 answers

Heroku Internal Server Error. ParamValidationError. Invalid bucket name "": Python/Django

absolute beginner here having an absolute nightmare deploying a tiny website to Heroku. I have worked through numerous issues to get to this point, but I now seem to have hit another wall. I have raised this as a support ticket with Heroku, but…
0
votes
1 answer

Django Deploy to Heroku "Six" / "django-appconf" issue

I am a complete beginner, but I have created a small website using Python / Django with the help of django-cookiecutter, including the deploy to Heroku instructions. I am in the process of deploying it for the first time to Heroku, however, the…
0
votes
1 answer

django coverage fails to include most py files

I have run coverage on a project that I set up with cookie cutter for django. In the report, coverage includes the py files in the user app that cookie cutter set up for me, and includes my html templates, but does not include any of my py files. …
Rick Graves
  • 517
  • 5
  • 11
0
votes
1 answer

With django cookie cutter, how to change to the custom user model mid-project

I am trying to use Cookiecutter to help me to deploy a web app with Heroku and Amazon S3. This is an app that I developed locally without Cookiecutter so I am copy-pasting the files into the new project and debug step by step. The original app used…
Yannick
  • 1,550
  • 4
  • 18
  • 27
0
votes
1 answer

Can't figure out how to configure email settings for cookiecutter-django

I've set up a cookiecutter-django project for testing and it worked just fine printing the confirmation email to the console. However, it's important to me to also test the actual sending of the emails and when I tried to adjust the settings for a…
Mo Hertz
  • 31
  • 6
0
votes
1 answer

Django Rest Framework with Cookiecutter

I'm doing rest api with django rest framework and i wanted to use cookie cutter but there are lots of libraries for django rest based on cookie cutter and i don't know which is the most correct. Which cookie cutter should i use? And maybe it isn't…
0
votes
1 answer

django cookiecutter extending base.html wipes out my web page

I am working on a project that I started in June 2017 with the cookiecutter I had just installed. At the time, with respect to django, I was an absolute beginner. (I am a bit more advanced by now, but just a bit.) Cookiecutter put a base.html in…
Rick Graves
  • 517
  • 5
  • 11
0
votes
1 answer

python manage.py collectstatic is loading the wrong (local) settings

I am using cookiecutter-django .env design to load different settings depending on environment. Running locally should use "local.py" settings and wunning in aws elatic beanstalk, it should load "dev.py". Both import from "common.py". Running the…
0
votes
1 answer

Project created using cookiecutter-django not running

Its been a few months that I am trying to learn Django. In the same process (and while reading "Two Scoops of Django 1.11"), I came across Cookiecutter Django. It has helped me learn a few important things to keep in mind while creating a project. I…
inquilabee
  • 713
  • 1
  • 11
  • 23
0
votes
0 answers

Tests ran in gitlab-ci fail as Postgres can't been seen

Tests using gitlab-ci in docker fail as the Postgres service in not accessible. In my dev environment, I run tests successfully with: $docker-compose -f local.yaml run web py.test But in gitlab, the command - docker run --env-file=.env_dev…
lukik
  • 3,919
  • 6
  • 46
  • 89
0
votes
1 answer

Running cookiecutter django on an intranet

Now that Caddy has been adopted which comes by default setup for https and requires the domain name to be routable from the internet. What is the proper setup to run on an intranet with only http without access from the internet?
jangeador
  • 594
  • 1
  • 6
  • 17
0
votes
2 answers

Django Cookiecutter Moving Template folder up one level

I want to move the templates folder up one level and out of the {{cookiecutter.project_slug}} folder. I can use this and it works locally but I know it is not correct: str ( ROOT_DIR + 'templates' ) what is the proper way to format this DIRS? Here…
diogenes
  • 1,865
  • 3
  • 24
  • 51
0
votes
1 answer

Use cookiecutter-django with Celery 4.x

I use cookiecutter-django with celery==3.1.25. Now I need use tasks scheduler, and my opinion, best way for this - it's celery beat. But here I found information that celery-beat works with Celery version 4.x Here I saw the information that…
Narnik Gamarnik
  • 1,049
  • 1
  • 16
  • 35
0
votes
2 answers

where/when should env.sample (.env) be pulled in? Is this a bug?

I was sourcing .env through my shell, which, I suspect, is a non-standard behavior, because this struck me as a bug: DJANGO_SECRET_KEY=string along with all the other variables are not quoted with single-apostrophe ticks ' ... which means that if…
Paul T.
  • 329
  • 3
  • 15
1 2 3
14
15