0

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
  • Not sure if it helps, but you can check this out: https://cookiecutter-django.readthedocs.io/en/latest/settings.html?highlight=log#settings – ruddra Nov 18 '18 at 16:02

1 Answers1

1

You will need to add in the library yourself. You can follow the instructions to install sentry here: https://raven.readthedocs.io/en/stable/integrations/django.html

coler-j
  • 1,791
  • 1
  • 27
  • 57
  • It is really easy to do. – coler-j Nov 18 '18 at 17:43
  • I"m going to install it. It looks very easy. Only question is should I add raven and sentry to base requirements or production only? – Shaun Nov 18 '18 at 18:05
  • 1
    You can add to both, but you would want a different raven project for each environment so you can seperate your logging between environments. – coler-j Nov 18 '18 at 18:12