Skip to content

Commit

Permalink
Updating references from old smn repo to new urls
Browse files Browse the repository at this point in the history
  • Loading branch information
romgar committed Dec 3, 2015
1 parent 887fcd4 commit d17c553
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/dirtyfields/dirtyfields.py
Expand Up @@ -40,7 +40,7 @@ def _as_dict(self, check_relationship):
pass

# Explanation of copy usage here :
# https://github.com/smn/django-dirtyfields/commit/efd0286db8b874b5d6bd06c9e903b1a0c9cc6b00
# https://github.com/romgar/django-dirtyfields/commit/efd0286db8b874b5d6bd06c9e903b1a0c9cc6b00
all_field[field.name] = copy(field_value)

return all_field
Expand Down
2 changes: 1 addition & 1 deletion tests/test_core.py
Expand Up @@ -90,7 +90,7 @@ def test_non_local_fields():
@pytest.mark.django_db
def test_decimal_field_correctly_managed():
# Non regression test case for bug:
# https://github.com/smn/django-dirtyfields/issues/4
# https://github.com/romgar/django-dirtyfields/issues/4
tm = TestModelWithDecimalField.objects.create(decimal_field=Decimal(2.00))

# initial state shouldn't be dirty
Expand Down
10 changes: 5 additions & 5 deletions tests/test_non_regression.py
Expand Up @@ -12,7 +12,7 @@
@pytest.mark.django_db
def test_dirty_fields_ignores_the_editable_property_of_fields():
# Non regression test case for bug:
# https://github.com/smn/django-dirtyfields/issues/17
# https://github.com/romgar/django-dirtyfields/issues/17
tm = TestModelWithNonEditableFields.objects.create()

# initial state shouldn't be dirty
Expand Down Expand Up @@ -43,7 +43,7 @@ def test_dirty_fields_ignores_the_editable_property_of_fields():
@pytest.mark.django_db
def test_mandatory_foreign_key_field_not_initialized_is_not_raising_related_object_exception():
# Non regression test case for bug:
# https://github.com/smn/django-dirtyfields/issues/26
# https://github.com/romgar/django-dirtyfields/issues/26
with pytest.raises(IntegrityError):
TestModelWithForeignKey.objects.create()

Expand All @@ -52,7 +52,7 @@ def test_mandatory_foreign_key_field_not_initialized_is_not_raising_related_obje
@override_settings(DEBUG=True) # The test runner sets DEBUG to False. Set to True to enable SQL logging.
def test_relationship_model_loading_issue():
# Non regression test case for bug:
# https://github.com/smn/django-dirtyfields/issues/34
# https://github.com/romgar/django-dirtyfields/issues/34

# Query tests with models that are not using django-dirtyfields
tm1 = OrdinaryTestModel.objects.create()
Expand Down Expand Up @@ -100,7 +100,7 @@ def test_relationship_model_loading_issue():
@pytest.mark.django_db
def test_relationship_option_for_foreign_key_to_self():
# Non regression test case for bug:
# https://github.com/smn/django-dirtyfields/issues/22
# https://github.com/romgar/django-dirtyfields/issues/22
tm = TestModelWithSelfForeignKey.objects.create()
tm1 = TestModelWithSelfForeignKey.objects.create(fkey=tm)

Expand All @@ -114,7 +114,7 @@ def test_relationship_option_for_foreign_key_to_self():
@pytest.mark.django_db
def test_expressions_not_taken_into_account_for_dirty_check():
# Non regression test case for bug:
# https://github.com/smn/django-dirtyfields/issues/39
# https://github.com/romgar/django-dirtyfields/issues/39
from django.db.models import F
tm = TestExpressionModel.objects.create()
tm.counter = F('counter') + 1
Expand Down

0 comments on commit d17c553

Please sign in to comment.