Sh*t happens and sometimes you need to rebuild your MySQL database. It might be because you need to reconstruct your environment or just duplicate your environment. But here’s some things to remember when you’re rebuilding a MySQL database.
This is part two of a two part introduction on how to integrate ReactJS with your Django project.
If you’re getting unresolved reference warnings in your project but it’s simply because you’re importing a module
from a directory that’s a child of the root, you can specify a folder as a “source folder”. This will let PyCharm
know that some of your modules are rooted from that source folder rather than the root.
An example of this is when you decide to define your apps and modules in a subdirectory
so your modules’ source is
root/subdirectory rather than
Today at work I realized that my virtual machine didn’t have enough memory to process all the Django migrations that had built up over time. So I decided that the best solution would be to squash the migrations, which would hopefully reduce the memory load required to migrate changes.
This is part two of a previous article on squashing Django migrations to lighten the memory load on your system.