LLLeon Liuinleon22.hashnode.dev·Jun 8, 2022 · 1 min readDjango: how to bulk create usersOne task that I receive most often is to create a list of users in the app. The common way I'm using is to use Jupyter Notebook to clean the user list first and turn them into a python list. Then I use python manage.py shell_plus to write the users i...00
LLLeon Liuinleon22.hashnode.dev·Jun 6, 2022 · 2 min readWhat does if __name__ == "__main__" mean in PythonI've searched the answer from stack overflow many times but until now I know exactly what it means. It is relevant to the concept of organizing the modules. We can introduce if __name__ == "__main__" after introducing how to organize modules in pytho...00
LLLeon Liuinleon22.hashnode.dev·May 30, 2022 · 2 min readAzure deployment failedAzure deployment failed Issue description I pulled from my development branch and resolved the conflicts and the app was running fine on my local server. So I deployed it using local git to my Azure app server. However, the update was not effective a...00
LLLeon Liuinleon22.hashnode.dev·May 27, 2022 · 1 min readHi, this is my first blog in hashnodeHi readers, My name is Leon and welcome to my blog. I'll share my coding experience as a non-CS major coder in the supply chain industry. Currently, I'm working on creating web-based tools for my clients to facilitate better warehouse, AGV and capac...00