Skip to content

Migrating an existing Django model

deby edited this page Oct 18, 2018 · 5 revisions

↑ Parent: Migrate from MagiCircles1 to MagiCircles2

  1. Make sure you read the entire documentation for MagiModel and MagiModel utils to make sure you're aware of all the features.

  2. Create the model in ${PROJECT}/models.py.

  3. Go through each fields in the old model and ask yourself:

    • Does it still make sense to have this field? Can we remove it?
    • Is there a different, smarter way we can store this data?
    • Is there anything in the MagiModel documentation that I could follow to improve this field?
  4. Make sure you check all the boxes in the checklist at the end of MagiModel.

Try your best to follow everything MagiCircles offers, but don't worry about getting anything wrong or forgetting anything. The other developers will take the time to review everything and help, so it's totally fine!

I. Introduction

II. Tutorials

  1. Collections
    1. MagiModel
    2. MagiCollection
    3. MagiForm
    4. MagiFiltersForm
    5. MagiFields
  2. Single pages
  3. Configuring the navbar

III. References

IV. Utils

V. Advanced tutorials

VI. More

Clone this wiki locally