Bhupesh-V / tutorialdb

A search 🔎 engine for programming/dev tutorials,
MIT License
121 stars 60 forks source link

LOCAL_HOST has been made optional #95

Closed ObliviousParadigm closed 1 year ago

ObliviousParadigm commented 4 years ago

README.md mentioned that LOCAL_HOST was optional but it actually wasn't. Added conditional statements to make it optional. Changed position of PROJECT_ROOT to make sure that all the variables related to static files are found one after the other. Moved an import statement from the bottom to the top to keep all imports in the same place.

Picture1 shows the output you get when running the command 'python3 manage.py' Picture2 shows the output you get after adding the conditional statements

Picture1 Picture2

lgtm-com[bot] commented 4 years ago

This pull request introduces 1 alert when merging 4ce62e977b973d8c8c892d29a507c82e8ce3f77c into e71de1e17b666a6223db2532b10af5d3731a2d4c - view on LGTM.com

new alerts: