by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 19:59
    wgordon17 opened #1922
  • Jan 31 2019 15:53

    browniebroke on pyup-update-django-extensions-2.1.4-to-2.1.5

    (compare)

  • Jan 31 2019 15:53

    browniebroke on master

    Update django-extensions from 2… Merge pull request #1916 from p… (compare)

  • Jan 31 2019 15:53
    browniebroke closed #1916
  • Jan 31 2019 15:52

    browniebroke on pyup-update-flake8-3.6.0-to-3.7.3

    (compare)

  • Jan 31 2019 15:52

    browniebroke on master

    Update flake8 from 3.6.0 to 3.7… Update flake8 from 3.6.0 to 3.7… Merge pull request #1920 from p… (compare)

  • Jan 31 2019 15:52
    browniebroke closed #1920
  • Jan 31 2019 15:49

    browniebroke on pyup-update-pytest-4.1.1-to-4.2.0

    (compare)

  • Jan 31 2019 15:49

    browniebroke on master

    Update pytest from 4.1.1 to 4.2… Update pytest from 4.1.1 to 4.2… Merge pull request #1919 from p… (compare)

  • Jan 31 2019 15:49
    browniebroke closed #1919
  • Jan 31 2019 13:43
    wgordon17 opened #1921
  • Jan 31 2019 13:23

    pydanny on pyup-update-flake8-3.6.0-to-3.7.2

    (compare)

  • Jan 31 2019 13:23
    pyup-bot closed #1918
  • Jan 31 2019 13:23
    pyup-bot commented #1918
  • Jan 31 2019 13:23
    pyup-bot opened #1920
  • Jan 31 2019 13:23

    pydanny on pyup-update-flake8-3.6.0-to-3.7.3

    Update flake8 from 3.6.0 to 3.7… (compare)

  • Jan 31 2019 13:23

    pydanny on pyup-update-flake8-3.6.0-to-3.7.3

    (compare)

  • Jan 31 2019 13:23

    pydanny on pyup-update-flake8-3.6.0-to-3.7.3

    Update flake8 from 3.6.0 to 3.7… (compare)

  • Jan 31 2019 00:40
    pyup-bot opened #1919
  • Jan 31 2019 00:40

    pydanny on pyup-update-pytest-4.1.1-to-4.2.0

    Update pytest from 4.1.1 to 4.2… (compare)

Alejandro Duque Correa
@aleducode
Which type of changes?
Tejas Arlimatti
@tejasa97
options like project-description etc
Alejandro Duque Correa
@aleducode
yes
Tejas Arlimatti
@tejasa97
@aleducode cool. how do I do those?
Alejandro Duque Correa
@aleducode
you can change it later without problems
in readme.DS
Tejas Arlimatti
@tejasa97
@aleducode oh nice. Thanks!
Alejandro Duque Correa
@aleducode
fine.
Tejas Arlimatti
@tejasa97
Does cookie-cutter django also come with Oauth support?
:]
@elcolie
I have a question

set -o errexit
set -o pipefail
set -o nounset


python /app/manage.py collectstatic --noinput
/usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app
Why production start script does not include migrate line?
#!/bin/sh

set -o errexit
set -o pipefail
set -o nounset


python manage.py migrate
python manage.py runserver_plus 0.0.0.0:8000
local start has migrate. What is the reason behind this?
elohim
@daHIFI_gitlab
@tejasa97 yes, its in the allauth app
@ShambuP_twitter there's an open issue about this. Search the issue log for 'storage'.
^^ my question about having to swap the manage.py: os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings.local") between local and production
Metehan Gülaç
@mthnglac
greetings,
i'm having a problem and i need your help. when i try to push my project to github, travic ci working correctly but somehow there was an issue just now.
error saying:
"django.core.exceptions.ImproperlyConfigured: Set the DATABASE_URL environment variable".
how can i solve this problem?
unixconky
@unixconky
Hey, how to restore (or rather load initial data) Postgres database backup .sql file that is in my host system using Docker config from django-cookiecutter? Where to copy file and what commend run? Does anyone try to achieve that? Thanks
Akash Vibhute
@AkashV10
Hi, I was able to bring my stack up with the production.yml and I can access my site, but I can't access flower over port 5555. I was able to ping the server on port IP_ADDRESS: 5555 and it was successful but when I try to access with domain.com:5555, it doesn't load. I haven't made any changes to the configs apart from using postgres outside docker (I have supplied proper details for connection and it is working). Has anyone had this issue?
Akash Vibhute
@AkashV10
It worked. I was proxying through cloudflare and disabling it worked.
Riska Kurniyanto Abdullah
@machineska
Hello All, I just thinking to setup postgresql with high availability configuration defaultly with cookiecutter django. is there anyone had to do this before?? How should I do to implement this?
We all know when in production the database must live forever. So.. i think it is really important to have postgresql with HA configuration default stick it to the django cookiecutter. What do you think guys?
Ghost
@ghost~5e5bdb6ed73408ce4fdb3968
I started using Docker, opened a shell into the container and ran python manage.py createsuperuser as per the readme, but it gave an error - django.core.exceptions.ImproperlyConfigured: Set the DATABASE_URL environment variable. Is there something I'm missing?
Akash Vibhute
@AkashV10
is this local setup or production compose?
Ghost
@ghost~5e5bdb6ed73408ce4fdb3968
Sorry, this is local setup.
Akash Vibhute
@AkashV10
In the .postgres env file, have you set all the details? It should not ask this but can you try to set DATABASE_URL=postgres://user:pw@127.0.0.1:5432/db_name
Ghost
@ghost~5e5bdb6ed73408ce4fdb3968
The env file is setup but I will try the URL. Thanks
That worked thanks. I suppose this is a bug?
Ah, the admin user still has to validate their email address.
Akash Vibhute
@AkashV10
probably. In the production compose folder, the entrypoint script has logic to set the database_url. I don't see it in local. But I have just started using this template, so I have not gone through all the structure.
Ghost
@ghost~5e5bdb6ed73408ce4fdb3968
Ok, thanks for your help.
leycor
@leycor
`code`
`time="2020-05-07T13:17:22Z" level=error msg="Unable to obtain ACME certificate for domains \"52.15.145.158\": unable to generate a certificate for the domains [52.15.145.158]: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for \"52.15.145.158\": The ACME server can not issue a certificate for an IP address, url: " providerName=letsencrypt.acme rule="Host(`52.15.145.158`)" routerName=web-secure-router`
Could anyone help me with this error?
Carrie Gardner
@CarrieGardner42_twitter
hi. I just ran the package generator, cookiecutter https://github.com/bruecksen/cookiecutter-django-wagtail, and there was no option to use docker (many other options were missing). is docker not supported?
E1F974BB-3EB7-430D-A74B-C3EC6C5FC7BA.png
Akash Vibhute
@AkashV10
@CarrieGardner42_twitter can you open a issue on that repository? It's different from this one.
@leycor have you set your domain name properly? you can check it in the traefik.yml file
leycor
@leycor
How do I activate the admin panel django in production?
Akash Vibhute
@AkashV10
It should be already active. Did you set the DJANGO_ADMIN_URL env variable?
leycor
@leycor
DJANGO_ADMIN_URL=admin/
leycor
@leycor

Prohibited (403)

CSRF verification has failed. Request aborted.

You are seeing this message because this website requires a CSRF cookie when forms are submitted. This cookie is needed for security reasons, to ensure that your browser has not been compromised by third parties.

If you have configured your browser to disable cookies, please re-enable them, at least for this site or for "same origin" requests.

Arcuri Davide
@dadokkio
Hello, I was following the guide for local develop with docker but I'm having issues with celery.
I have created a new backend app and I moved it at the same level of the users one.
The application is working properly, but celery docker are failing with
django.core.exception.ImproperlyConfigured: Cannot import 'backend'. Check that 'main.backend.apps.BackendConfig.name' is correct
Arcuri Davide
@dadokkio
fluid217
@fluid217
a six-month old production install of cookiecutter-django as of today has a celerybeat that fails with my_project_celerybeat_1 exited with code 73
ERROR: Pidfile (celerybeat.pid) already exists.
Any suggestions on how to debug?
I've removed the pidfile, removed the schedulefile, removed tasks from the django_db....
fluid217
@fluid217
temporarily, I've exec'd into the celery container, manually set the various environment variables and manually started celerybeat.
Riska Kurniyanto Abdullah
@machineska
Is there any tips for High Avaibility (HA) Postgresql setup that build with cookiecutter-django??
MiguelGonzalezTiger
@MiguelGonzalezTiger

Greetings, all! I'm trying to set up a new project on windows using gulp and docker.

Currently I have celery and gulp (at the end I'll put the settings when I run "cookiecutter https://github.com/pydanny/cookiecutter-django") and the live reload doesn't work.

Initially I used webpack and it worked on ubuntu 20.04 OS, but it doesn't work on Windows. What do you suggest I should do?

Below are my settings:

use_whitenoise: no
use_celery: yes
use_mailhog: no
use_sentry: no
use_pycharm: no
windows: no
use_docker: yes
use_heroku: no
use_compressor: no
postgresql_version: 11.3
js_task_runner: Gulp
cloud_provider: AWS
custom_bootstrap_compilation: no
open_source_license: MIT
keep_local_envs_in_vcs: no
debug: no