У меня
Django==1.9
models.py
# coding: utf-8 from django.db import models from django.contrib.auth.models import User from datetime import datetime class Info(models.Model): name = models.CharField(max_length=200) last_name = models.CharField(max_length=200) date_of_birth = models.DateField() bio = models.TextField() email = models.EmailField(max_length=200) skype = models.CharField(max_length=200) def __unicode__(self): return unicode(self.name + " " + self.surname) class RequestStore(models.Model): host = models.CharField(max_length=200) path = models.CharField(max_length=200) method = models.CharField(max_length=100) user = models.ForeignKey(User, blank=True, null=True) date = models.DateTimeField(default=datetime.now()) class Article(models.Model): class Meta(): db_table = 'article' title = models.CharField(max_length=200) date = models.DateTimeField(u'Дата публикации') text = models.TextField() likes = models.IntegerField(default=0) class Comments(models.Model): class Meta(): db_table = 'article' text = models.TextField() article = models.ForeignKey(Article)
После чего делаю:
python manage.py makemigrations python manage.py migrate
Появляется ошибка:
django.db.utils.OperationalError: table "article" already exists