title: Printing to console in Pycharm Django views.py
body: <p>I am new to Pycharm (v2019.2) and Django (2.2.4). I am trying to understand pieces of code in various files and am trying to print data to the windows at the bottom of Pycharm, i.e. Run, manage.py, Terminal, Python Console.</p>
  
  <p>I've tried various solutions. I've added LOGGING to <code>settings.py</code> file according to the Django tutorial and importing <code>logging</code>. Nothing came out. I've also tried editing Run > Configurations in Pycharm but to no avail.</p>
  
  <pre class="lang-py prettyprint-override"><code>#views.py
  
  from django.shortcuts import render, redirect
  from .models import Customer
  
  def index(request):
      if request.user.is_authenticated:
          groups = Customer.objections.select_related('group').values('name', 'address', 'group__name', 'group__limit')
          print(groups)
          for item in groups:
              print(item)
          context = {'group_list': {'data': list(groups)}}
          return render(request, 'index.html', context, request.user)
      else:
          return redirect('/accounts/login')
  </code></pre>
  
  <p>My page loads fine but I just don't see any output to my consoles.</p>