- Are your migrations in folders named "migrations" inside each app?
- If so, does each of those folders have an "__init__.py" file?
On Friday, December 29, 2017 at 11:22:14 AM UTC-5, Fellipe Henrique wrote:
-- - If so, does each of those folders have an "__init__.py" file?
- Did you create your migrations with `python manage.py makemigrations` ?
On Friday, December 29, 2017 at 11:22:14 AM UTC-5, Fellipe Henrique wrote:
regardsHow can I fix that?I`m using Django 1.10.1I have several migration files on each app, but migrate doesn't recognize them...I try to run: $ python manage.py migrate and get these:Hi all,I have these apps, on my django site:INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# erp apps:
'erp.apps.base',
'erp.apps.login',
'erp.apps.cadastro',
'erp.apps.vendas',
'erp.apps.compras',
'erp.apps.fiscal',
'erp.apps.financeiro',
'erp.apps.estoque',
]
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
No migrations to apply.T.·.F.·.A.·. S+FFellipe Henrique P. Soarese-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'Fedora Ambassador: https://fedoraproject.org/wiki/User: Fellipeh Blog: http:www.fellipeh.eti.brGitHub: https://github.com/fellipeh Twitter: @fh_bash
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/59dd17ac-6a3b-44ae-9df2-40332d692d94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment