_custom_image2.rst 320 B

12345678910
  1. Step 2: Make migrations
  2. -----------------------
  3. **Before** switching your project to the new custom model, first make a
  4. migration for this model. If your custom image model already exists and has
  5. already been migrated, you can skip this step.
  6. .. code-block:: console
  7. $ python manage.py makemigrations mediamodels