Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
[requirements] Enable netjsonconfig 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Jun 1, 2017
1 parent 93c25b9 commit 1a28dae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion django_netjsonconfig/migrations/0007_file_data_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

from django.db import migrations, models

from netjsonconfig.backends.openwrt.schema import DEFAULT_FILE_MODE
try:
from netjsonconfig.backends.openwrt.schema import DEFAULT_FILE_MODE
# netjsonconfig >= 0.6.0
except ImportError:
from netjsonconfig.schema import DEFAULT_FILE_MODE


def forwards(apps, schema_editor):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ django>=1.9,<1.11
django-model-utils
jsonfield
six
netjsonconfig>=0.5.4,<0.6.0
netjsonconfig>=0.5.4,<0.7.0
django-sortedm2m>=1.3.2,<1.4
django-reversion>=2.0.6,<2.1
django-x509>=0.2.0,<0.3.0
Expand Down

0 comments on commit 1a28dae

Please sign in to comment.