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

Passing user auth status in view

I am using Django Cookiecutter as template. And by default in urls.py there is following url: url(r'^about/$', TemplateView.as_view(template_name='pages/about.html'), name='about'), and because i need to pass some additional parameters in it i…
HyperX
  • 1,121
  • 2
  • 22
  • 42
0
votes
1 answer

django.security.DisallowedHost odd values throwing exception

I have a droplet running on Digital Ocean. I am using gunicorn and nginx with Django 1.10. The web application has been running fine, but I have captured some DisallowedHost exceptions in my logs. My ALLOWED_HOSTS…
Dan S.
  • 162
  • 2
  • 13
0
votes
2 answers

cookiecutter django edit email

So I'm using cookiecutter-django, which has django-allauth for user registration and django-anymail as a backend for sending email. I want to customize the emails that are being sent to the users when they sign up or forget their passwords. I can't…
0
votes
1 answer

Detailed documentation of pydanny's cookiecutter?

I tried using it but instead of kick-starting me it only caused a lot of confusions. Is there a book or article somewhere that explains what every single file that cookiecutter generates does? I mean there's a documentation but it does not really…
anlogg
  • 1,050
  • 1
  • 15
  • 36
0
votes
1 answer

missing environmental variables nginx container

I am trying to evaluate cookiecutter-django, so far its a great tool to start a project. everything is going smooth except when I tried to use docker with certbot, i'm having this error. nginx_1 | 2016/06/15 07:55:36 [emerg] 1#1: invalid…
leppy
  • 99
  • 1
  • 6
0
votes
1 answer

Field names in django-allauth

I just started new project and used django cookiecutter, which comes with django-allauth, now i modifyed default templates etc, but form is renderd as
HyperX
  • 1,121
  • 2
  • 22
  • 42
0
votes
2 answers

Can't deploy Django application in Heroku cloud

I cannot seem to deploy my Django application through gunicorn. Here is my Procfile: web: gunicorn config.wsgi:application My wsgi file is not located under the project, but under a config folder instead ./config/wsgi.py: import os from…
TheGRS
  • 103
  • 8
0
votes
0 answers

Memcached connection error in Django on Heroku

I'm using https://github.com/pydanny/cookiecutter-django which includes django-avatar which appears to rely on memcached since I am getting ther following error when I go to avatar's standard /avatar/change/ url, which is at…
KindOfGuy
  • 3,081
  • 5
  • 31
  • 47
-1
votes
1 answer

Cookiecutter Django fails Github Actions on Run pre-commit

***EDIT Issue resolved. Several things needed to be done to setup pre-commit in my environment prior to commit/push. 'git init' 'pre-commit install' open new terminal, activate venv 'pre-commit run —all-files' Hope this helps someone in the…
-1
votes
1 answer

Anybody get django cookiecutter to work with anaconda instead of virtualenv?

Just when I think I'm starting to get a handle with django I start reading Two Scoops Of Django where they advise to use Cookiecutter instead of the regular django-admin startproject. The authors of Two Scoops are big on virtualenv. I've been using…
BaconSandwich
  • 165
  • 2
  • 13
-2
votes
1 answer

Django cookiecutter Project code won't run

I'm currently working on a django project built with django cookiecutter. I'm running both redis server and the redis client but anytime I run the django server it keeps giving the below error raise…
-2
votes
1 answer

LookupError: Model 'User.user' not registered

I get this error every time I try to run manage.py makemigrations manage.py migrate or manage.py runserver. Full Traceback: https://pastebin.com/19G8Av5m Short version: LookupError: Model 'User.user' not registered. Thanks for your help.
1 2 3
14
15