Commit 8091284e028d97612301e536d70b7ffee1bc4745
Merge pull request #56 from asieira/master
Additional step to porting docs (#55)
Showing
1 changed file
with
6 additions
and
0 deletions
| ... | ... | @@ -40,3 +40,9 @@ follow these steps: |
| 40 | 40 | |
| 41 | 41 | from django.contrib.comments.forms import CommentForm # old |
| 42 | 42 | from django_comments.forms import CommentForm # new |
| 43 | + | |
| 44 | +#. If your database schema already contains the tables and data | |
| 45 | + for existing comments and you get an error like | |
| 46 | + ``django.db.utils.ProgrammingError: relation "django_comments" already exists`` | |
| 47 | + in your first subsequent migration, run | |
| 48 | + ``manage.py migrate django_comments --fake-initial``. | ... | ... |
Please
register
or
login
to post a comment