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)

Dani Hodovic
@danihodovic

Don’t know, does it work without them? Have you tried removing them?

I run my pytest suite without them and with the locmem backend :)

leollon
@leollon
@browniebroke I'm trying to add pre-commit to this project, is it necessary to have this?
Bruno Alla
@browniebroke
Im
I'm not a big fan of pre-commit hooks personally
leollon
@leollon
OK, I am going to commit a pr, maybe it will be needed someday
leollon
@leollon

I mean using pre-commit in the generated django project. This project which developers can choose whether they use pre-commit or not.

OK, I am going to commit a pr, maybe it will be needed someday

Ben Lindsay
@benlindsay
Hi all, I'm trying to get the hang of cookiecutter-django, which is amazing, but I'm having some trouble getting it working in production on AWS with docker. What's the best way to get some help troubleshooting? I don't want to spam this conversation with logs and stuff.
And to be clear, I'm just trying to deploy the project right after initialization before adding any custom code
Ben Lindsay
@benlindsay
Nevermind, it turns out the solution was to start over and go through the process again with a fresh EC2 instance. Thanks for all the work you all do on this awesome package!
Blockchain Man
@dahifi
Anyone got any tips or guides for Celery setup? I can't tell whether Django is actually running the worker or what's going on. I have Rabbit running in docker, Flower running to it, manually running worker 'celery worker -A config.celery_app --broker=amqp://guest@172.17.0.2//', but I can't figure out where to go from here.
I can even run a task in the python console, but I can't see any activity within the app.
Blockchain Man
@dahifi
Looks like local settings have always_eager = true. I think I'm figuring this out now.
Lokesh Sanapalli
@lokesh1729_gitlab
one question, why does all the vendor javascripts are put in vendors.js and minifying whereas there was a vendorRoot = node_modules defined and pulling jquery, bootstrap etc... ??? also the same case with css... why there's a project.css
djangoReactGuy
@SanskarSans
I am using docker for cookiecutter-django. I need to enter into postgres. How can i do that?
El 李天宝
@elcolie
@SanskarSans docker ps -a to find your container id
docker exec -it <container_id> /bin/sh
After finish your business inside container just exit
You can use docker-compose -f your.yml ps to see only your project containers
docker ps -a will show you all entire system
Lokesh Sanapalli
@lokesh1729_gitlab

one question, why does all the vendor javascripts are put in vendors.js and minifying whereas there was a vendorRoot = node_modules defined and pulling jquery, bootstrap etc... ??? also the same case with css... why there's a project.css

can anyone tell me ??

djangoReactGuy
@SanskarSans

@elcolie I am trying to inspect the tables by executing postgres container as follow

docker exec -it simplifytour_postgres_1 sh

i could enter into it but I could not execute postgres.

El 李天宝
@elcolie
After you enter to the postgres container. Try psql -U postgres You should be able to be in there
djangoReactGuy
@SanskarSans
i tried that it says psql: FATAL: role "postgres" does not exist
event psql template1 did not work
El 李天宝
@elcolie
No template1 is database schema template!
El 李天宝
@elcolie
I think you'd better try any user in the postgres container. I would start from settings.py
djangoReactGuy
@SanskarSans

do you mean to say such things in settings

POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=simplifytour
POSTGRES_USER=debug
POSTGRES_PASSWORD=debug

?

El 李天宝
@elcolie
Yes. Follow that!
Christopher Vanderlinden
@cvanderlinden_gitlab
So, I have customized cookie-cutter django a bit, but for some reason my DEV django container is erroring out - but the errors point to it using the production.py settings file for some reason
where should I be looking to troubleshoot this?
IE: django.core.exceptions.ImproperlyConfigured: Set the MAILGUN_API_KEY environment variable But I have that variable commented out in my DEV .env and .py files
nvm
found it
well maybe not
Ak4zh
@Ak4zh
Has anyone be able to successfully run this with caprover?
Ak4zh
@Ak4zh
So if I want to run 5 cookiecutter-django project from 1 server. I am using docker but not building redis using cookiecutter as I have my own redis instance running.
Ak4zh
@Ak4zh
Ignore the last query I can simply use different redis database as
redis://127.0.0.1/0
step_koreik
@nurbek91_gitlab
hi
Ak4zh
@Ak4zh
@pydanny telegram could be a better platform
Nikita Shupeyko
@webyneter
@Ak4zh definitely not.
it's not even close to Slack in terms of integration ecosystem
h8pwn
@h8pwn
IRC ftw
Dani Hodovic
@danihodovic
could anyone have a look at these two PRs?
Wojciech Niedźwiedź
@Niedzwiedzw
morning folks
I'm trying to deploy to prod using docker
my stack is a VPS from digitalocean, domain is from OVH
traefik_1       | time="2019-09-24T08:49:22Z" level=error msg="Unable to obtain ACME certificate for domains \"aplikacja-alternator.pl\" detected thanks to rule \"Host:aplikacja-alternator.pl\" : unable to generate a certificate for the domains [aplikacja-alternator.pl]: acme: Error -> One or more domains had a problem:\n[aplikacja-alternator.pl] acme: error: 400 :: urn:ietf:params:acme:error:connection :: Fetching http://aplikacja-alternator.pl/.well-known/acme-challenge/thH2vELCR6o9B2fnlzJ9y4_rJa1YhYZF5eOE4j2ygM8: Timeout during connect (likely firewall problem), url: \n"
maybe some of you guys have an eye good enough to spot what's wrong here