Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0002 migration file is missing #74

Closed
ghost opened this issue May 26, 2018 · 2 comments
Closed

0002 migration file is missing #74

ghost opened this issue May 26, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented May 26, 2018

Referring the changes done in https://github.com/revsys/django-friendship/blame/91af0116d05a9ff2dd940ea9fa3dcf20a9ebac3a/friendship/models.py#L576, the corresponding migration file is not yet added with the codebase. The following migration is being created when I run makemigrations on my local

# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-05-26 18:08
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('friendship', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='block',
            options={'verbose_name': 'Blocker Relationship', 'verbose_name_plural': 'Blocked Relationships'},
        ),
        migrations.AlterField(
            model_name='block',
            name='blocked',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='blockees', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterUniqueTogether(
            name='block',
            unique_together=set([('blocker', 'blocked')]),
        ),
    ]
@fcurella
Copy link
Collaborator

fcurella commented Jul 3, 2018

Hi @babus , Can you check if v1.7.0 fixes the issue?

@uri-rodberg
Copy link
Contributor

Still not working in version 1.7.0.

uri-rodberg referenced this issue in speedy-net/speedy-net Jul 4, 2018
…jango-friendship).

- To upgrade all the requirements (with Django>=1.11,<2.0 and django-friendship==1.5.0), run:
pip install --upgrade -r requirements-pip-upgrade.txt
- To upgrade all the requirements (including Django and django-friendship), run:
pip install --upgrade -r requirements-without-versions.txt
(notice that django-modeltranslation and django-friendship latest stable releases still don't support Django 2.0, or have bugs/issues).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants