Skip to content

Commit 2520362

Browse files
committed
fix, ultimo commit
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. ```
1 parent a0ca9bd commit 2520362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scielomanager/journalmanager/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ def _create_code(self, *args, **kwargs):
978978
raise DatabaseError(msg)
979979

980980
class Meta:
981-
ordering = ('id')
981+
ordering = ('id',)
982982
permissions = (("list_section", "Can list Sections"),)
983983

984984
def save(self, *args, **kwargs):

0 commit comments

Comments
 (0)