Let’s first understand the meaning of generic, according to the oxford dictionary generic means;
“shared by, including, or typical of a whole group of things; not specific”
So as you can see the meaning states clearly that it is not specific to any things. That means
GenericForeignKeyis not specific to one model rather it can have a relation between any model in your Django application. If you have been a Rails developer you would be familiar with Polymorphic Associations. So in Django, it’s pretty much the same as the Polymorphic Associations in Rails.
Are you thinking to become a software developer? This advice will help you to learn something faster. Practice makes a man perfect is the key to hard work and success. If you are new to programming. Learning by building projects is the go-to method for mastering the tools and technology. The more you practice, the better you get at it.
If I have to give three pieces of advice to someone who has begun their journey with software development would be:
Microverse is a remote school that helps people around the world to become a remote developer and fulfill their dream to become full-stack remote developers without charging any upfront cost until they find a job. Their objective is to close the global gap between talent and opportunity by training and connecting one million people to jobs by 2030. You may be one of those one million if you wish to be a remote developer. Still not interested to join, let me point out some pros and cons about Microverse. You are free to say that I am biased in pointing…