FOSSEE / workshop_booking

Workshop booking interface in Django.
GNU General Public License v3.0
2 stars 11 forks source link

Workshop comments #131

Closed pnshiralkar closed 4 years ago

pnshiralkar commented 4 years ago

Added WorkshopComment model WorkshopDetails view to view workshop details and also comment. Linked Workshop details view in workshop_status view

Closes #127

ankitjavalkar commented 4 years ago

I get the following error when I accept a workshop as a new instructor

ERROR:django.request:Internal Server Error: /accept_workshop/3
Traceback (most recent call last):
  File "/home/ ... /.virtualenvs/booking_env/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)

...

  File "/home/ ... /workshop_booking/workshop_app/views.py", line 252, in accept_workshop
    institute=coordinator_profile.institute
  File "/home/ ... /workshop_booking/workshop_app/send_mails.py", line 228, in send_email
    files = listdir(attachment_paths)
FileNotFoundError: [Errno 2] No such file or directory: '/home/ ... /workshop_booking/workshop_app/data/python_workshop'