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

Anyway to enable sentry on cookiecutter-django after the fact?

I created a django app using cookiecutter-django. While getting ready to deploy I realized I should have enabled sentry during project setup. Am i out of luck here and need to redo everything? Or is there a way I can enable it?
Shaun
  • 4,057
  • 7
  • 38
  • 48
0
votes
1 answer

Default setup for media in Django-Cookie cutter and relative media urls

I've used Django-Cookiecutter's default setup for Heroku, with Whitenoise serving static files and S3 serving media files. However, I want to use 'media' to store certain, heavier content files (pdfs) that are going to change over time, not just…
DanielMcQ
  • 37
  • 1
  • 8
0
votes
1 answer

python manage.py runserver not connecting

python manage.py runserver Is not running and this is this traceback I'm receiving: Traceback (most recent call last): File "C:\Users\David\Envs\ebdjango\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper fn(*args, **kwargs) …
PapaSmurf
  • 43
  • 8
0
votes
2 answers

AJAX POST to server results in Error 413: Request Entity Too Large

In a JS plugin, my Django view accepts an AJAX POST of a base64 encoded image. The problem is that the images are too large. I'm getting the following error. django_1 | Traceback (most recent call last): django_1 | File…
Emile
  • 3,464
  • 8
  • 46
  • 77
0
votes
1 answer

How do I connect to the postgres from my home OS using a GUI client like postico?

I am running the Django Cookiecutter on Docker and tried to connect to the postgres database using Postico, a GUI client on my laptop. The credentials I used was basically the same as .envs/.local/.postgres Yet I still cannot connect. I wonder…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
0
votes
2 answers

cookiecutter error in django

I installed a cookie cutter using pip. Then I ran this $ cookiecutter But this doesn't work. This is the traceback: Traceback (most recent call last): File "/home/choco/.local/bin/cookiecutter", line 7, in from cookiecutter.main import main …
user9890549
0
votes
1 answer

Python : How to remove microseconds from django timestamp?

In PostgreSQL database timestamp datatype column has value as: 2018-06-08 12:35:09 But when retrieving data using django, data is returned as (datetime is combining microseconds): "2018-06-08T12:35:09.225" How can I convert this datetime object to…
LuFFy
  • 8,799
  • 10
  • 41
  • 59
0
votes
2 answers

Django+nginx try_files $uri @proxy_to_app not serving staticfiles

I'm using latest https://github.com/pydanny/cookiecutter-django template for my app and I want to use nginx instead of caddy webserver for production. So my docker compose is the same as…
Arti
  • 7,356
  • 12
  • 57
  • 122
0
votes
0 answers

how to use cookiecutter-django scss

I used the recent cookiecutter django package to generate a new django product. But I am having trouble with the sass/scss compilation aspect. I looked at this, and its no help, as I need to setup the package.json to run any commands. I tried to…
Greg Samson
  • 1,267
  • 2
  • 11
  • 21
0
votes
1 answer

cookiecutter-django docker-compose -f production.yml up hangs

I created a cookiecutter-django app and left it pretty much pain vanilla. Except because I need to run on EC2, behind and Elastic Load Balancer with an SSL cert from AWS Certificate manager, I need to use nginx instead of Caddy. Here's my…
Brad Rhoads
  • 1,828
  • 3
  • 29
  • 52
0
votes
2 answers

django-cookiecutter, docker-compose run: can't type in terminal

I'm having an issue with a project started with django cookiecutter. To verify that the issue was not with my project, I'm testing on a blank django cookiecutter project. The issue is that when I run: docker-compose -f production.yml run --rm django…
0
votes
1 answer

Trying to deploy Django app to Heroku - "Internal Server Error"

I've been trying to deploy to Heroku and all I have to show for it is a big white page that says "Internal Server Error" (the site is hosted here: https://iffapp.herokuapp.com/). I'm using django-cookiecutter and followed their guide exactly…
bildungsroman
  • 437
  • 1
  • 8
  • 17
0
votes
1 answer

Django cookiecutter docker build failing: maximum recursion depth exceeded

I've been using the cookiecutter docker setup for local development which has been working wonderfully. I'm now ready to build and deploy a production version of my application. I've followed the instructions here and here. It all seems pretty…
0
votes
1 answer

Deploy cookiecutter-django on Netlify

Has anyone tried to deploy a cookiecutter-django project on Netlify, or maybe just a Django project? I'm not sure which commands Netlify requires for deploying my site.
0
votes
2 answers

Form not showing in Django app

I picked up a very very simple django challenge, but am having a problem with inputing details and submitting it into Database. My forms are not even showing talkless of inputing details, and I don’t know what am doing wrong. models.py class…