Skip to content

Commit

Permalink
fix, ultimo commit
Browse files Browse the repository at this point in the history
Msg de erro:
```
django.core.management.base.CommandError: One or more models did not validate:
journalmanager.section: "ordering" refers to "i", a field that doesn't exist.
journalmanager.section: "ordering" refers to "d", a field that doesn't exist.
```
  • Loading branch information
jfunez committed Aug 5, 2014
1 parent a0ca9bd commit 2520362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scielomanager/journalmanager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ def _create_code(self, *args, **kwargs):
raise DatabaseError(msg)

class Meta:
ordering = ('id')
ordering = ('id',)
permissions = (("list_section", "Can list Sections"),)

def save(self, *args, **kwargs):
Expand Down

0 comments on commit 2520362

Please sign in to comment.