# Generic Relations

Generic relations' fields are be frozen, but unfortunately not the GenericForeignKey itself (see :ref:orm-freezing for a reason why). To add it back onto a model, add the import for generic at the top of the migration and then in the body of forwards() put:

gfk = generic.GenericForeignKey()