-
Notifications
You must be signed in to change notification settings - Fork 0
/
comandos django
1929 lines (1779 loc) · 125 KB
/
comandos django
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe manage.py migrate
Microsoft Windows [Versión 10.0.16299.492]
(c) 2017 Microsoft Corporation. Todos los derechos reservados.
C:\Users\usuario\Google Drive\Tecnicatura\REDES\Practicos 2018>d:
D:\>git clone https://github.com/django/django.git
Cloning into 'django'...
remote: Counting objects: 419062, done.
remote: Compressing objects: 100% (146/146), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
D:\>git clone https://github.com/django/django.git
Cloning into 'django'...
remote: Counting objects: 419062, done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 419062 (delta 73), reused 54 (delta 26), pack-reused 418890
Receiving objects: 100% (419062/419062), 175.32 MiB | 234.00 KiB/s, done.
Resolving deltas: 100% (304650/304650), done.
Checking out files: 100% (5980/5980), done.
D:\>dir
El volumen de la unidad D es Nuevo vol
El número de serie del volumen es: 1E77-B220
Directorio de D:\
28/06/2018 09:35 p. m. <DIR> caj
28/06/2018 08:42 p. m. <DIR> cajero
01/08/2018 08:18 p. m. <DIR> django
01/08/2018 12:38 p. m. <DIR> Dropbox
04/07/2018 07:28 p. m. <DIR> gringo
26/07/2018 11:01 a. m. <DIR> InfoCoop
07/04/2018 05:34 p. m. 1.759.887.360 kubuntu-17.10.1-desktop-amd64.iso
22/05/2000 12:00 a. m. 647.872 mscomct2.ocx
28/07/1998 11:01 p. m. 1.062.704 MSCOMCTL.OCX
04/05/2018 02:47 p. m. <DIR> Musica
12/06/2018 08:35 p. m. <DIR> PeerInfo
19/06/2018 09:23 p. m. <DIR> Python27
10/05/2018 08:39 p. m. <DIR> Python36
10/02/2005 10:03 p. m. 212.240 RICHTX32.OCX
13/05/2018 08:19 p. m. 1.921.843.200 ubuntu-18.04-desktop-amd64.iso
17/07/2018 08:58 p. m. <DIR> Utiles
04/05/2018 02:47 p. m. <DIR> vfp
15/05/2018 10:07 a. m. <DIR> Vfp8
04/05/2018 02:47 p. m. <DIR> VFP9
14/05/2018 06:33 p. m. <DIR> Windows10Upgrade
5 archivos 3.683.653.376 bytes
15 dirs 745.546.108.928 bytes libres
D:\>dir
El volumen de la unidad D es Nuevo vol
El número de serie del volumen es: 1E77-B220
Directorio de D:\
28/06/2018 09:35 p. m. <DIR> caj
28/06/2018 08:42 p. m. <DIR> cajero
01/08/2018 08:18 p. m. <DIR> django
01/08/2018 12:38 p. m. <DIR> Dropbox
04/07/2018 07:28 p. m. <DIR> gringo
26/07/2018 11:01 a. m. <DIR> InfoCoop
07/04/2018 05:34 p. m. 1.759.887.360 kubuntu-17.10.1-desktop-amd64.iso
22/05/2000 12:00 a. m. 647.872 mscomct2.ocx
28/07/1998 11:01 p. m. 1.062.704 MSCOMCTL.OCX
04/05/2018 02:47 p. m. <DIR> Musica
12/06/2018 08:35 p. m. <DIR> PeerInfo
19/06/2018 09:23 p. m. <DIR> Python27
10/05/2018 08:39 p. m. <DIR> Python36
10/02/2005 10:03 p. m. 212.240 RICHTX32.OCX
13/05/2018 08:19 p. m. 1.921.843.200 ubuntu-18.04-desktop-amd64.iso
17/07/2018 08:58 p. m. <DIR> Utiles
04/05/2018 02:47 p. m. <DIR> vfp
15/05/2018 10:07 a. m. <DIR> Vfp8
04/05/2018 02:47 p. m. <DIR> VFP9
14/05/2018 06:33 p. m. <DIR> Windows10Upgrade
5 archivos 3.683.653.376 bytes
15 dirs 745.546.108.928 bytes libres
D:\>cd django
D:\django>git checkout 2.1
Note: checking out '2.1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at e7ad40fcf4 [2.1.x] Bumped version for 2.1 release.
D:\django>pip install .
"pip" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\django>easy_install
"easy_install" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\django>cd ..
D:\>cd Python36
D:\Python36>ls
"ls" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\Python36>pwd
"pwd" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\Python36>python
Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
^C
D:\Python36>python3
"python3" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\Python36>pip3
"pip3" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\Python36>cd "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts"
D:\Python36>cd "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts"
D:\Python36>cd C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts
D:\Python36>c:
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>pip3
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>pip3
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>dir
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: 60C3-8342
Directorio de C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts
01/08/2018 08:27 p. m. <DIR> .
01/08/2018 08:27 p. m. <DIR> ..
04/05/2018 12:43 p. m. 89.496 easy_install-3.6.exe
04/05/2018 12:43 p. m. 89.496 easy_install.exe
01/08/2018 08:27 p. m. 93.063 pip.exe
01/08/2018 08:27 p. m. 93.063 pip3.6.exe
01/08/2018 08:27 p. m. 93.063 pip3.exe
01/08/2018 08:27 p. m. 93.060 wheel.exe
6 archivos 551.241 bytes
2 dirs 165.491.318.784 bytes libres
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts> pip3
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>pip3 --help
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>cd
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>cd
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>cd
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>cd ..
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>cd ..
C:\Users\usuario\AppData\Local\Programs\Python>pip3
"pip3" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\Users\usuario\AppData\Local\Programs\Python>cd Python36-32
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>ls
"ls" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>ls
"ls" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>dir
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: 60C3-8342
Directorio de C:\Users\usuario\AppData\Local\Programs\Python\Python36-32
04/05/2018 12:43 p. m. <DIR> .
04/05/2018 12:43 p. m. <DIR> ..
04/05/2018 12:42 p. m. <DIR> DLLs
04/05/2018 12:42 p. m. <DIR> Doc
04/05/2018 12:41 p. m. <DIR> include
04/05/2018 12:42 p. m. <DIR> Lib
04/05/2018 12:42 p. m. <DIR> libs
28/03/2018 04:14 p. m. 30.340 LICENSE.txt
28/03/2018 04:14 p. m. 392.371 NEWS.txt
28/03/2018 04:11 p. m. 97.944 python.exe
28/03/2018 04:08 p. m. 58.520 python3.dll
28/03/2018 04:08 p. m. 3.303.064 python36.dll
28/03/2018 04:11 p. m. 96.408 pythonw.exe
01/08/2018 08:27 p. m. <DIR> Scripts
04/05/2018 12:42 p. m. <DIR> tcl
04/05/2018 12:42 p. m. <DIR> Tools
09/06/2016 10:46 p. m. 83.784 vcruntime140.dll
7 archivos 4.062.431 bytes
10 dirs 165.491.249.152 bytes libres
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>python.exe
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
KeyboardInterrupt
>>>
KeyboardInterrupt
>>> ^D
File "<stdin>", line 1
^
SyntaxError: invalid syntax
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>> ^Z
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>cd Scripts
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>ñs
"ñs" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>dir
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: 60C3-8342
Directorio de C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts
01/08/2018 08:27 p. m. <DIR> .
01/08/2018 08:27 p. m. <DIR> ..
04/05/2018 12:43 p. m. 89.496 easy_install-3.6.exe
04/05/2018 12:43 p. m. 89.496 easy_install.exe
01/08/2018 08:27 p. m. 93.063 pip.exe
01/08/2018 08:27 p. m. 93.063 pip3.6.exe
01/08/2018 08:27 p. m. 93.063 pip3.exe
01/08/2018 08:27 p. m. 93.060 wheel.exe
6 archivos 551.241 bytes
2 dirs 165.491.314.688 bytes libres
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>pip3.6.exe
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts>cd ..
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>python -m pip
Usage:
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe -m pip <command> [options]
Commands:
install Install packages.
download Download packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements format.
list List installed packages.
show Show information about installed packages.
check Verify installed packages have compatible dependencies.
config Manage local and global configuration.
search Search PyPI for packages.
wheel Build wheels from your requirements.
hash Compute hashes of package archives.
completion A helper command used for command completion.
help Show help for commands.
General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to
WARNING, ERROR, and CRITICAL logging levels).
--log <path> Path to a verbose appending log.
--proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
--retries <retries> Maximum number of retries each connection should attempt (default 5 times).
--timeout <sec> Set the socket timeout (default 15 seconds).
--exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup,
(a)bort).
--trusted-host <hostname> Mark this host as trusted, even though it does not have valid or any HTTPS.
--cert <path> Path to alternate CA bundle.
--client-cert <path> Path to SSL client certificate, a single file containing the private key and the
certificate in PEM format.
--cache-dir <dir> Store the cache data in <dir>.
--no-cache-dir Disable the cache.
--disable-pip-version-check
Don't periodically check PyPI to determine whether a new version of pip is available for
download. Implied with --no-index.
--no-color Suppress colored output
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>python -m pip install django
Collecting django
Downloading https://files.pythonhosted.org/packages/51/1a/e0ac7886c7123a03814178d7517dc822af0fe51a72e1a6bff26153103322/Django-2.1-py3-none-any.whl (7.3MB)
100% |████████████████████████████████| 7.3MB 54kB/s
Collecting pytz (from django)
Downloading https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl (510kB)
100% |████████████████████████████████| 512kB 284kB/s
Installing collected packages: pytz, django
The script django-admin.exe is installed in 'C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed django-2.1 pytz-2018.5
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>python -m pip install django-model-utils
Collecting django-model-utils
Downloading https://files.pythonhosted.org/packages/d1/92/8a6b15368bb407f0a2e716bf603e73c843af782b98e68f23c19697742f8a/django_model_utils-3.1.2-py2.py3-none-any.whl
Requirement already satisfied: Django>=1.8 in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from django-model-utils) (2.1)
Requirement already satisfied: pytz in c:\users\usuario\appdata\local\programs\python\python36-32\lib\site-packages (from Django>=1.8->django-model-utils) (2018.5)
Installing collected packages: django-model-utils
Successfully installed django-model-utils-3.1.2
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>cd
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32>cd ..
C:\Users\usuario\AppData\Local\Programs\Python>cd ..
C:\Users\usuario\AppData\Local\Programs>cd ..
C:\Users\usuario\AppData\Local>cd ..
C:\Users\usuario\AppData>cd d.
El sistema no puede encontrar la ruta especificada.
C:\Users\usuario\AppData>cd d:
D:\Python36
C:\Users\usuario\AppData>d:
D:\Python36>cd..
D:\>cd gringo
D:\gringo>ls
"ls" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\gringo>dir
El volumen de la unidad D es Nuevo vol
El número de serie del volumen es: 1E77-B220
Directorio de D:\gringo
04/07/2018 07:28 p. m. <DIR> .
04/07/2018 07:28 p. m. <DIR> ..
04/07/2018 07:28 p. m. 464 .gitignore
04/07/2018 07:28 p. m. <DIR> fixtures
04/07/2018 07:28 p. m. <DIR> gringo
04/07/2018 07:28 p. m. 553 manage.py
04/07/2018 07:28 p. m. <DIR> stock
2 archivos 1.017 bytes
5 dirs 745.544.179.712 bytes libres
D:\gringo>c:
C:\Users\usuario\AppData>
C:\Users\usuario\AppData>C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe manage.py migrate
C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe: can't open file 'manage.py': [Errno 2] No such file or directory
C:\Users\usuario\AppData>d:
D:\gringo>C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions, stock
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying sessions.0001_initial... OK
Applying stock.0001_initial... OK
Applying stock.0002_auto_20180614_0004... OK
Applying stock.0003_auto_20180627_2237... OK
D:\gringo>C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe manage.py createsuperuser
Nombre de usuario (leave blank to use 'usuario'): rene
Dirección de email:
Password:
Password (again):
Error: Your passwords didn't match.
Password:
Password (again):
Superuser created successfully.
D:\gringo>C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\python.exe manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
August 01, 2018 - 20:46:29
Django version 2.1, using settings 'gringo.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[01/Aug/2018 20:46:49] "GET / HTTP/1.1" 200 16379
[01/Aug/2018 20:46:50] "GET /static/admin/css/fonts.css HTTP/1.1" 200 423
[01/Aug/2018 20:46:50] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564
[01/Aug/2018 20:46:51] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[01/Aug/2018 20:46:51] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
Not Found: /favicon.ico
[01/Aug/2018 20:46:51] "GET /favicon.ico HTTP/1.1" 404 1972
[01/Aug/2018 20:46:58] "GET /admin HTTP/1.1" 301 0
[01/Aug/2018 20:46:58] "GET /admin/ HTTP/1.1" 302 0
[01/Aug/2018 20:46:58] "GET /admin/login/?next=/admin/ HTTP/1.1" 200 1863
[01/Aug/2018 20:46:58] "GET /static/admin/css/login.css HTTP/1.1" 200 1203
[01/Aug/2018 20:46:58] "GET /static/admin/css/base.css HTTP/1.1" 200 16225
[01/Aug/2018 20:46:58] "GET /static/admin/css/responsive.css HTTP/1.1" 200 17976
[01/Aug/2018 20:47:21] "POST /admin/login/?next=/admin/ HTTP/1.1" 302 0
[01/Aug/2018 20:47:21] "GET /admin/ HTTP/1.1" 200 7468
[01/Aug/2018 20:47:21] "GET /static/admin/css/dashboard.css HTTP/1.1" 200 412
[01/Aug/2018 20:47:21] "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 200 380
[01/Aug/2018 20:47:22] "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 200 331
[01/Aug/2018 20:47:41] "GET /admin/stock/producto/ HTTP/1.1" 200 3231
[01/Aug/2018 20:47:41] "GET /static/admin/css/changelists.css HTTP/1.1" 200 6170
[01/Aug/2018 20:47:41] "GET /static/admin/css/fonts.css HTTP/1.1" 304 0
[01/Aug/2018 20:47:41] "GET /static/admin/js/jquery.init.js HTTP/1.1" 200 363
[01/Aug/2018 20:47:41] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 200 6918
[01/Aug/2018 20:47:41] "GET /static/admin/js/core.js HTTP/1.1" 200 7134
[01/Aug/2018 20:47:41] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 200 271751
[01/Aug/2018 20:47:41] "GET /static/admin/js/prepopulate.js HTTP/1.1" 200 1530
[01/Aug/2018 20:47:42] "GET /static/admin/js/actions.js HTTP/1.1" 200 6538
[01/Aug/2018 20:47:42] "GET /static/admin/js/urlify.js HTTP/1.1" 200 8972
[01/Aug/2018 20:47:42] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:47:42] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 200 128820
[01/Aug/2018 20:47:42] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:47:42] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:47:42] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:47:42] "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 200 331
[01/Aug/2018 20:47:47] "GET /admin/ HTTP/1.1" 200 7468
[01/Aug/2018 20:47:49] "GET /admin/stock/cultivo/ HTTP/1.1" 200 3224
[01/Aug/2018 20:47:50] "GET /static/admin/css/base.css HTTP/1.1" 304 0
[01/Aug/2018 20:47:50] "GET /static/admin/css/responsive.css HTTP/1.1" 304 0
[01/Aug/2018 20:47:50] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:47:52] "GET /admin/ HTTP/1.1" 200 7468
[01/Aug/2018 20:47:58] "GET /admin/stock/cultivo/ HTTP/1.1" 200 3224
[01/Aug/2018 20:47:58] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:00] "GET /admin/stock/cultivo/add/ HTTP/1.1" 200 4040
[01/Aug/2018 20:48:01] "GET /static/admin/css/forms.css HTTP/1.1" 200 8505
[01/Aug/2018 20:48:01] "GET /static/admin/js/change_form.js HTTP/1.1" 200 712
[01/Aug/2018 20:48:01] "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 200 495
[01/Aug/2018 20:48:01] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:01] "GET /static/admin/css/widgets.css HTTP/1.1" 200 10340
[01/Aug/2018 20:48:11] "POST /admin/stock/cultivo/add/ HTTP/1.1" 302 0
[01/Aug/2018 20:48:12] "GET /admin/stock/cultivo/1/change/ HTTP/1.1" 200 4473
[01/Aug/2018 20:48:12] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:12] "GET /static/admin/img/icon-yes.svg HTTP/1.1" 200 436
[01/Aug/2018 20:48:17] "POST /admin/stock/cultivo/1/change/ HTTP/1.1" 302 0
[01/Aug/2018 20:48:17] "GET /admin/stock/cultivo/add/ HTTP/1.1" 200 4250
[01/Aug/2018 20:48:17] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:22] "POST /admin/stock/cultivo/add/ HTTP/1.1" 302 0
[01/Aug/2018 20:48:23] "GET /admin/stock/cultivo/add/ HTTP/1.1" 200 4250
[01/Aug/2018 20:48:23] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:29] "POST /admin/stock/cultivo/add/ HTTP/1.1" 302 0
[01/Aug/2018 20:48:30] "GET /admin/stock/cultivo/3/change/ HTTP/1.1" 200 4476
[01/Aug/2018 20:48:30] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:33] "POST /admin/stock/cultivo/3/change/ HTTP/1.1" 302 0
[01/Aug/2018 20:48:33] "GET /admin/stock/cultivo/ HTTP/1.1" 200 5032
[01/Aug/2018 20:48:33] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:37] "GET /admin/stock/cultivo/1/change/ HTTP/1.1" 200 4257
[01/Aug/2018 20:48:38] "GET /static/admin/css/fonts.css HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:38] "GET /static/admin/js/jquery.init.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/core.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/urlify.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/prepopulate.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/js/actions.js HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:48:38] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:48:43] "GET /admin/stock/ HTTP/1.1" 200 6162
[01/Aug/2018 20:48:43] "GET /static/admin/css/dashboard.css HTTP/1.1" 304 0
[01/Aug/2018 20:48:43] "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 304 0
[01/Aug/2018 20:48:43] "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 304 0
[01/Aug/2018 20:48:47] "GET /admin/stock/producto/ HTTP/1.1" 200 3231
[01/Aug/2018 20:48:47] "GET /static/admin/css/base.css HTTP/1.1" 304 0
[01/Aug/2018 20:48:48] "GET /static/admin/css/responsive.css HTTP/1.1" 304 0
[01/Aug/2018 20:48:48] "GET /static/admin/css/changelists.css HTTP/1.1" 304 0
[01/Aug/2018 20:48:48] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:48] "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 304 0
[01/Aug/2018 20:48:50] "GET /admin/stock/producto/add/ HTTP/1.1" 200 8001
[01/Aug/2018 20:48:50] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:48:50] "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 200 392
[01/Aug/2018 20:49:11] "GET /admin/stock/categoriaproducto/add/?_to_field=id&_popup=1 HTTP/1.1" 200 3221
[01/Aug/2018 20:49:12] "GET /static/admin/css/forms.css HTTP/1.1" 304 0
[01/Aug/2018 20:49:12] "GET /static/admin/css/widgets.css HTTP/1.1" 304 0
[01/Aug/2018 20:49:12] "GET /static/admin/js/change_form.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:12] "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:12] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:49:23] "POST /admin/stock/categoriaproducto/add/?_to_field=id&_popup=1 HTTP/1.1" 200 376
[01/Aug/2018 20:49:24] "GET /static/admin/js/popup_response.js HTTP/1.1" 200 569
[01/Aug/2018 20:49:28] "GET /admin/stock/unidadmedida/add/?_to_field=id&_popup=1 HTTP/1.1" 200 3181
[01/Aug/2018 20:49:28] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:49:40] "POST /admin/stock/unidadmedida/add/?_to_field=id&_popup=1 HTTP/1.1" 200 374
[01/Aug/2018 20:49:55] "POST /admin/stock/producto/add/ HTTP/1.1" 302 0
[01/Aug/2018 20:49:55] "GET /admin/stock/producto/ HTTP/1.1" 200 4635
[01/Aug/2018 20:49:56] "GET /static/admin/css/base.css HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/css/responsive.css HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/css/changelists.css HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/css/fonts.css HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:49:56] "GET /static/admin/js/prepopulate.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/jquery.init.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/core.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/actions.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/js/urlify.js HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/img/icon-yes.svg HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:49:56] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:49:57] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:50:08] "GET /admin/stock/ HTTP/1.1" 200 6162
[01/Aug/2018 20:50:08] "GET /static/admin/css/dashboard.css HTTP/1.1" 304 0
[01/Aug/2018 20:50:09] "GET /static/admin/img/icon-changelink.svg HTTP/1.1" 304 0
[01/Aug/2018 20:50:09] "GET /static/admin/img/icon-addlink.svg HTTP/1.1" 304 0
[01/Aug/2018 20:50:20] "GET /admin/stock/actividad/ HTTP/1.1" 200 3981
[01/Aug/2018 20:50:21] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:50:25] "GET /admin/stock/actividad/add/ HTTP/1.1" 200 26399
[01/Aug/2018 20:50:25] "GET /static/admin/css/forms.css HTTP/1.1" 304 0
[01/Aug/2018 20:50:26] "GET /static/admin/css/widgets.css HTTP/1.1" 304 0
[01/Aug/2018 20:50:26] "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 200 20281
[01/Aug/2018 20:50:26] "GET /static/admin/js/calendar.js HTTP/1.1" 200 7777
[01/Aug/2018 20:50:26] "GET /static/admin/js/inlines.js HTTP/1.1" 200 13813
[01/Aug/2018 20:50:26] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:50:26] "GET /static/admin/js/change_form.js HTTP/1.1" 304 0
[01/Aug/2018 20:50:26] "GET /static/admin/js/prepopulate_init.js HTTP/1.1" 304 0
[01/Aug/2018 20:50:26] "GET /static/admin/img/icon-deletelink.svg HTTP/1.1" 304 0
[01/Aug/2018 20:50:26] "GET /static/admin/img/icon-calendar.svg HTTP/1.1" 200 1086
Internal Server Error: /admin/stock/campaña/add/
Traceback (most recent call last):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\sqlite3\base.py", line 296, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: stock_lote.hectareas
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py", line 156, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py", line 154, in _get_response
response = response.render()
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py", line
106, in render
self.content = self.rendered_content
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py", line
83, in rendered_content
content = template.render(context, self._request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 188, in render
return template.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 173, in render
return self._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 993, in render
return render_value_in_context(output, context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 972, in render_value_in_context
value = str(value)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\html.py", line 397, in <lambda>
klass.__str__ = lambda self: mark_safe(klass_str(self))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\boundfield.py", line 33, in __str__
return self.as_widget()
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\boundfield.py", line 93, in as_widget
renderer=self.form.renderer,
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 229, in render
context = self.get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\contrib\admin\widgets.py", line 293, in get_context
'rendered_widget': self.widget.render(name, value, attrs),
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 229, in render
context = self.get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 668, in get_context
context = super().get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 629, in get_context
context['widget']['optgroups'] = self.optgroups(name, context['widget']['value'], attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 577, in optgroups
for index, (option_value, option_label) in enumerate(self.choices):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\models.py", line 1139, in __iter__
for obj in queryset:
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py", line 332, in _iterator
yield from self._iterable_class(self, chunked_fetch=use_chunked_fetch, chunk_size=chunk_size)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py", line 54, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\sql\compiler.py",
line 1061, in execute_sql
cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
100, in execute
return super().execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
68, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
77, in _execute_with_wrappers
return executor(sql, params, many, context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\utils.py", line 89, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\sqlite3\base.py", line 296, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: stock_lote.hectareas
[01/Aug/2018 20:50:39] "GET /admin/stock/campa%C3%B1a/add/?_to_field=id&_popup=1 HTTP/1.1" 500 580078
[01/Aug/2018 20:51:12] "GET /admin/stock/actividad/ HTTP/1.1" 200 3981
[01/Aug/2018 20:51:12] "GET /static/admin/css/base.css HTTP/1.1" 304 0
[01/Aug/2018 20:51:12] "GET /static/admin/css/responsive.css HTTP/1.1" 304 0
[01/Aug/2018 20:51:12] "GET /static/admin/css/changelists.css HTTP/1.1" 304 0
[01/Aug/2018 20:51:12] "GET /static/admin/css/fonts.css HTTP/1.1" 304 0
[01/Aug/2018 20:51:12] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:51:12] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/prepopulate.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/jquery.init.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/core.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/actions.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/urlify.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 304 0
[01/Aug/2018 20:51:13] "GET /static/admin/img/tooltag-add.svg HTTP/1.1" 304 0
[01/Aug/2018 20:51:16] "GET /admin/stock/ HTTP/1.1" 200 6162
[01/Aug/2018 20:51:16] "GET /static/admin/css/dashboard.css HTTP/1.1" 304 0
Internal Server Error: /admin/stock/campaña/add/
Traceback (most recent call last):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\sqlite3\base.py", line 296, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: stock_lote.hectareas
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py", line 156, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py", line 154, in _get_response
response = response.render()
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py", line
106, in render
self.content = self.rendered_content
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py", line
83, in rendered_content
content = template.render(context, self._request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 188, in render
return template.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 173, in render
return self._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 993, in render
return render_value_in_context(output, context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 972, in render_value_in_context
value = str(value)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\html.py", line 397, in <lambda>
klass.__str__ = lambda self: mark_safe(klass_str(self))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\boundfield.py", line 33, in __str__
return self.as_widget()
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\boundfield.py", line 93, in as_widget
renderer=self.form.renderer,
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 229, in render
context = self.get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\contrib\admin\widgets.py", line 293, in get_context
'rendered_widget': self.widget.render(name, value, attrs),
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 229, in render
context = self.get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 668, in get_context
context = super().get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 629, in get_context
context['widget']['optgroups'] = self.optgroups(name, context['widget']['value'], attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 577, in optgroups
for index, (option_value, option_label) in enumerate(self.choices):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\models.py", line 1139, in __iter__
for obj in queryset:
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py", line 332, in _iterator
yield from self._iterable_class(self, chunked_fetch=use_chunked_fetch, chunk_size=chunk_size)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py", line 54, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\sql\compiler.py",
line 1061, in execute_sql
cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
100, in execute
return super().execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
68, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
77, in _execute_with_wrappers
return executor(sql, params, many, context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\utils.py", line 89, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\sqlite3\base.py", line 296, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: stock_lote.hectareas
[01/Aug/2018 20:51:20] "GET /admin/stock/campa%C3%B1a/add/ HTTP/1.1" 500 580656
[01/Aug/2018 20:51:23] "GET /admin/stock/ HTTP/1.1" 200 6162
[01/Aug/2018 20:51:27] "GET /admin/stock/categoriaproducto/ HTTP/1.1" 200 4530
[01/Aug/2018 20:51:27] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
[01/Aug/2018 20:51:39] "GET /admin/stock/ HTTP/1.1" 200 6162
[01/Aug/2018 20:51:47] "GET /admin/stock/campa%C3%B1a/ HTTP/1.1" 200 3753
[01/Aug/2018 20:51:47] "GET /admin/jsi18n/ HTTP/1.1" 200 7268
Internal Server Error: /admin/stock/campaña/add/
Traceback (most recent call last):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py", line
85, in _execute
return self.cursor.execute(sql, params)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\sqlite3\base.py", line 296, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: stock_lote.hectareas
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py", line 156, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py", line 154, in _get_response
response = response.render()
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py", line
106, in render
self.content = self.rendered_content
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\response.py", line
83, in rendered_content
content = template.render(context, self._request)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py", line 188, in render
return template.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 173, in render
return self._render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 993, in render
return render_value_in_context(output, context)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py", line 972, in render_value_in_context
value = str(value)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\html.py", line 397, in <lambda>
klass.__str__ = lambda self: mark_safe(klass_str(self))
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\boundfield.py", line 33, in __str__
return self.as_widget()
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\boundfield.py", line 93, in as_widget
renderer=self.form.renderer,
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 229, in render
context = self.get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\contrib\admin\widgets.py", line 293, in get_context
'rendered_widget': self.widget.render(name, value, attrs),
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 229, in render
context = self.get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 668, in get_context
context = super().get_context(name, value, attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 629, in get_context
context['widget']['optgroups'] = self.optgroups(name, context['widget']['value'], attrs)
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\widgets.py", line 577, in optgroups
for index, (option_value, option_label) in enumerate(self.choices):
File "C:\Users\usuario\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\forms\models.py", line 1139, in __iter__
for obj in queryset: