IEEE-NITK / corpus

A Django-based web application for managing all things IEEE NITK!
https://ieee.nitk.ac.in
2 stars 7 forks source link

Update all os.environ dict calls to os.getenv calls #43

Closed nishant-nayak closed 1 year ago

nishant-nayak commented 1 year ago

Description

Update all os.environ dict calls to os.getenv calls. This is a safer method of calling environment variables because getenv returns None if the variable doesn't exist.

Fixes #31

Dependencies

N/A

Type of Change

What types of changes does your code introduce? Put an x in the boxes that apply

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration. (for bug fix / breaking change) Put an x in the boxes that apply


Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

render[bot] commented 1 year ago

Your Render PR Server URL is https://corpus-dev-pr-43.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-clc6b8jmot1c73f7h1hg.

livecycle[bot] commented 1 year ago

ieee-nitk

Your Livecycle playground is ready 🎉.

✅ Playground version up to date (0cfd90c5b55b0fc6193ac61c29eb01e703e9f672)

Invite team members and start collaborating 💪

Check the box and click "invite" to invite collaborators

invite

Members already invited * Nishant Nayak

Click here to invite the rest of your team.