Permalink
Browse files

Update django with notes regarding migration redo

  • Loading branch information...
hparra committed Feb 6, 2017
1 parent 64083d7 commit a3ff946e77d8bcdf6b46e5d7e6877da32b94565e
Showing with 6 additions and 0 deletions.
  1. +6 −0 django.md
View
@@ -50,6 +50,12 @@ GRAPH_MODELS = {
}
```
+Sometimes you'll make changes so drastic in a new project that it's better to redo your migrations:
+- `manage.py migrate zero` to
+- delete migration files
+- make changes to models
+- `manage.py makemigration`
+
## Django Admin
Django has an admin area (app) by default.

0 comments on commit a3ff946

Please sign in to comment.