File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 174174 "name" : " Dennis Byrne"
175175 }
176176},
177+ {
178+ "model" : " testapp.author" ,
179+ "pk" : 27 ,
180+ "fields" : {
181+ "name" : " David Gries"
182+ }
183+ },
184+ {
185+ "model" : " testapp.author" ,
186+ "pk" : 28 ,
187+ "fields" : {
188+ "name" : " Adam Johnson"
189+ }
190+ },
177191{
178192 "model" : " testapp.book" ,
179193 "pk" : 1 ,
516530 "author" : 26
517531 }
518532},
533+ {
534+ "model" : " testapp.book" ,
535+ "pk" : 39 ,
536+ "fields" : {
537+ "title" : " The Science of Programming" ,
538+ "my_order" : 42 ,
539+ "author" : 27
540+ }
541+ },
542+ {
543+ "model" : " testapp.book" ,
544+ "pk" : 40 ,
545+ "fields" : {
546+ "title" : " Speed Up Your Django Tests" ,
547+ "my_order" : 39 ,
548+ "author" : 28
549+ }
550+ },
551+ {
552+ "model" : " testapp.book" ,
553+ "pk" : 41 ,
554+ "fields" : {
555+ "title" : " Boost Your Django DX" ,
556+ "my_order" : 40 ,
557+ "author" : 28
558+ }
559+ },
560+ {
561+ "model" : " testapp.book" ,
562+ "pk" : 42 ,
563+ "fields" : {
564+ "title" : " Boost Your GitHub DX" ,
565+ "my_order" : 41 ,
566+ "author" : 28
567+ }
568+ },
519569{
520570 "model" : " testapp.chapter" ,
521571 "pk" : 1 ,
Original file line number Diff line number Diff line change @@ -23,14 +23,12 @@ class Book(models.Model):
2323 blank = True ,
2424 max_length = 255 ,
2525 )
26-
2726 my_order = models .PositiveIntegerField (
2827 default = 0 ,
2928 blank = False ,
3029 null = False ,
3130 db_index = True ,
3231 )
33-
3432 author = models .ForeignKey (
3533 Author ,
3634 null = True ,
You can’t perform that action at this time.
0 commit comments