DEV Community

Cover image for First Django Deployment on Render...
ayush
ayush

Posted on

First Django Deployment on Render...

Purposefully Deploying Faulty Code (FAFO Time)

Just deployed the iteration of ecom-backend project. I kept it faulty purposefully by:

  1. Keeping ALLOWED_HOSTS = [].
  2. Using SQLite, not PostgreSQL.
  3. Keeping DEBUG = True.

Apart from the first one, none of them will break my code (I hope). I have seen people cry a river over deployment, so I will see what it is about.


First Error I Got

ModuleNotFoundError: No module named 'app'
Enter fullscreen mode Exit fullscreen mode

No idea what this is about, but will see after the mid-day nap.


What I Realized via Deployment

  1. I must learn about Computer Networking Basics. I have been delaying it for a while (college professors do play a role in this)
  2. In engineering, once you get out of tutorial hell, things get messy real fast.
  3. I must fix my perfecionist mindset. I am still in my school/college mindset that screams:

If you don't understand and remember a concept deeply, you fail.


Small Note

I, most likely, will post here multiple times a day, I set a 10-15 minute timer to journal stuff and not spiral. So, I planned on sharing it here and to maybe help others or get some feedback.

So you can expect, multiple post by me here, everyday ;)

Top comments (0)